[PATCH 5/7] Introduce an installdirs target.

Richard Kettlewell rjk at terraraq.org.uk
Sun Jul 24 18:13:35 BST 2011


Signed-off-by: Richard Kettlewell <rjk at terraraq.org.uk>
---
 Makefile.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 68b7b7b..e82baf6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -139,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
-- 
1.7.2.5




More information about the sgo-software-discuss mailing list