]> git.etc.gen.nz Git - spong.git/commitdiff
A few more minor tweaks to the the Makefile for DESTDIR support.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 27 Dec 2007 17:27:08 +0000 (06:27 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 27 Dec 2007 17:27:08 +0000 (06:27 +1300)
Makefile

index eea3a2240952e9eb140c246c7072cbe81f45495a..99e8c8e0862864df4b397e770cfb79eabe43f54d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -109,8 +109,6 @@ cvsclean:
 
 bindir:                $(DESTDIR)$(BINDIR) daemons
 
-daemons:       $(DAEMONS)
-
 $(DESTDIR)$(BINDIR):
        mkdir -p $@
 
@@ -133,7 +131,7 @@ etcdir:             $(DESTDIR)$(ETCDIR) configs etcown
 
 $(DESTDIR)$(ETCDIR):
        mkdir -p $@
-       chmod 751 $(ETCDIR)
+       chmod 751 $@
 
 etcown:
        chown -R $(ADMUSER) $(DESTDIR)$(ETCDIR)