X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=Makefile.in;h=e82baf6ce07fc939ad33493f56469a300f3e0bc4;hp=d3394444ec949d8c1a943bc7a59b0de0436e5ede;hb=a25b1149662cae9a8fad70405d195b73f74f3fdd;hpb=19a171f1601ef89d9b38bd7628b14d64962ab9e1 diff --git a/Makefile.in b/Makefile.in index d339444..e82baf6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -67,7 +67,6 @@ DISTFILES:=BUGS COPYING CREDITS INSTALL LICENSE.txt Makefile.in \ config.h.in configure \ configure.in depend.sh dh.c \ example.conf \ - getopt.c getopt1.c getopt.h \ install-sh ipaddr.c ipaddr.h ipaddr.py linux log.c \ magic.h md5.c md5.h \ make-secnet-sites \ @@ -140,8 +139,10 @@ version.c: Makefile echo "char version[]=\"secnet $(VERSION)\";" >>$@.new mv -f $@.new $@ -install: all +installdirs: $(INSTALL) -d $(prefix)/share/secnet $(sbindir) + +install: installdirs $(INSTALL_PROGRAM) secnet $(sbindir)/`echo secnet|sed '$(transform)'` $(INSTALL_PROGRAM) ${srcdir}/make-secnet-sites $(sbindir)/`echo make-secnet-sites|sed '$(transform)'` $(INSTALL) ${srcdir}/ipaddr.py $(prefix)/share/secnet/ipaddr.py