Commit 9cd291f7 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

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.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1500 e5f2f494-b856-4b98-b285-d166d9295462
parent ffd58deb
...@@ -5,10 +5,15 @@ pkglibexec_SCRIPTS = b10-cfgmgr ...@@ -5,10 +5,15 @@ pkglibexec_SCRIPTS = b10-cfgmgr
CLEANFILES = b10-cfgmgr CLEANFILES = b10-cfgmgr
b10_cfgmgrdir = @localstatedir@/@PACKAGE@ b10_cfgmgrdir = @localstatedir@/@PACKAGE@
b10_cfgmgr_DATA = #B10_cfgmgr_DATA =
# TODO: does this need $$(DESTDIR) also? # TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
b10-cfgmgr: b10-cfgmgr.py b10-cfgmgr: b10-cfgmgr.py
$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" b10-cfgmgr.py >$@ $(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" b10-cfgmgr.py >$@
chmod a+x $@ chmod a+x $@
install-data-local:
$(mkinstalldirs) $(DESTDIR)/@localstatedir@/@PACKAGE@
# TODO: permissions handled later
...@@ -21,3 +21,8 @@ CLEANFILES= b10-cmdctl ...@@ -21,3 +21,8 @@ CLEANFILES= b10-cmdctl
b10-cmdctl: cmdctl.py b10-cmdctl: cmdctl.py
$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" cmdctl.py >$@ $(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" cmdctl.py >$@
chmod a+x $@ chmod a+x $@
install-data-local:
$(mkinstalldirs) $(DESTDIR)/@sysconfdir@/@PACKAGE@
# TODO: permissions handled later
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment