[svn] commit: r1500 - in /trunk/src/bin: cfgmgr/Makefile.am cmdctl/Makefile.am

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Mar 18 00:12:18 UTC 2010


Author: jreed
Date: Thu Mar 18 00:12:18 2010
New Revision: 1500

Log:
For cfgmgr make sure the configuration database directory is created
on install.
TODO: maybe cfgmgr should create it?

(while here comment out an unused line)

For cmdctl, create the sysconfdir directory.

Modified:
    trunk/src/bin/cfgmgr/Makefile.am
    trunk/src/bin/cmdctl/Makefile.am

Modified: trunk/src/bin/cfgmgr/Makefile.am
==============================================================================
--- trunk/src/bin/cfgmgr/Makefile.am (original)
+++ trunk/src/bin/cfgmgr/Makefile.am Thu Mar 18 00:12:18 2010
@@ -5,10 +5,15 @@
 CLEANFILES = b10-cfgmgr
 
 b10_cfgmgrdir = @localstatedir@/@PACKAGE@
-b10_cfgmgr_DATA = 
+#B10_cfgmgr_DATA = 
 
 # TODO: does this need $$(DESTDIR) also?
 # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
 b10-cfgmgr: b10-cfgmgr.py
 	$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" b10-cfgmgr.py >$@
 	chmod a+x $@
+
+install-data-local:
+	$(mkinstalldirs) $(DESTDIR)/@localstatedir@/@PACKAGE@
+# TODO: permissions handled later
+

Modified: trunk/src/bin/cmdctl/Makefile.am
==============================================================================
--- trunk/src/bin/cmdctl/Makefile.am (original)
+++ trunk/src/bin/cmdctl/Makefile.am Thu Mar 18 00:12:18 2010
@@ -21,3 +21,8 @@
 b10-cmdctl: cmdctl.py
 	$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" cmdctl.py >$@
 	chmod a+x $@
+
+install-data-local:
+	$(mkinstalldirs) $(DESTDIR)/@sysconfdir@/@PACKAGE@   
+# TODO: permissions handled later
+




More information about the bind10-changes mailing list