From cfa26ab8df9b533d32b8dd5aa405bf237bb58f12 Mon Sep 17 00:00:00 2001 From: Jelte Jansen Date: Thu, 31 Jan 2013 15:47:39 +0100 Subject: [PATCH] [1901] Rename 'bind10' script files - renamed 'bind10' to 'b10-init' - renamed related files as well - left alone the 'run' script, as well as the directory name - added new 'bind10' script that execs b10-init note this commit only handles file names, and internal references have not been updated yet --- configure.ac | 2 +- src/bin/bind10/.gitignore | 3 +- src/bin/bind10/Makefile.am | 31 ++++++++++--------- .../{bind10_src.py.in => b10-init.py.in} | 0 src/bin/bind10/{bind10.xml => b10-init.xml} | 0 src/bin/bind10/{bob.spec => init.spec} | 0 ...{bind10_messages.mes => init_messages.mes} | 0 7 files changed, 18 insertions(+), 18 deletions(-) rename src/bin/bind10/{bind10_src.py.in => b10-init.py.in} (100%) rename src/bin/bind10/{bind10.xml => b10-init.xml} (100%) rename src/bin/bind10/{bob.spec => init.spec} (100%) rename src/bin/bind10/{bind10_messages.mes => init_messages.mes} (100%) diff --git a/configure.ac b/configure.ac index 6d1a388f1a..9d9d372f78 100644 --- a/configure.ac +++ b/configure.ac @@ -1310,7 +1310,7 @@ AC_OUTPUT([doc/version.ent src/bin/sysinfo/run_sysinfo.sh src/bin/stats/stats.py src/bin/stats/stats_httpd.py - src/bin/bind10/bind10_src.py + src/bin/bind10/b10-init.py src/bin/bind10/run_bind10.sh src/bin/bind10/tests/bind10_test.py src/bin/bindctl/run_bindctl.sh diff --git a/src/bin/bind10/.gitignore b/src/bin/bind10/.gitignore index 2cf6b5036f..ce6632de43 100644 --- a/src/bin/bind10/.gitignore +++ b/src/bin/bind10/.gitignore @@ -1,4 +1,3 @@ -/bind10 -/bind10_src.py +/b10-init.py /run_bind10.sh /bind10.8 diff --git a/src/bin/bind10/Makefile.am b/src/bin/bind10/Makefile.am index 86c6595424..65d4b46eb3 100644 --- a/src/bin/bind10/Makefile.am +++ b/src/bin/bind10/Makefile.am @@ -1,29 +1,30 @@ SUBDIRS = . tests -sbin_SCRIPTS = bind10 -CLEANFILES = bind10 bind10_src.pyc -CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/bind10_messages.py -CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/bind10_messages.pyc +sbin_SCRIPTS = b10-init bind10 +pkglibexec_SCRIPTS = b10-init +CLEANFILES = b10-init b10-init.pyc +CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/init_messages.py +CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/init_messages.pyc pkglibexecdir = $(libexecdir)/@PACKAGE@ -nodist_pylogmessage_PYTHON = $(PYTHON_LOGMSGPKG_DIR)/work/bind10_messages.py +nodist_pylogmessage_PYTHON = $(PYTHON_LOGMSGPKG_DIR)/work/init_messages.py pylogmessagedir = $(pyexecdir)/isc/log_messages/ noinst_SCRIPTS = run_bind10.sh bind10dir = $(pkgdatadir) -bind10_DATA = bob.spec -EXTRA_DIST = bob.spec +bind10_DATA = init.spec +EXTRA_DIST = init.spec -man_MANS = bind10.8 +man_MANS = b10-init.8 DISTCLEANFILES = $(man_MANS) -EXTRA_DIST += $(man_MANS) bind10.xml bind10_messages.mes +EXTRA_DIST += $(man_MANS) b10-init.xml init_messages.mes if GENERATE_DOCS -bind10.8: bind10.xml - @XSLTPROC@ --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/bind10.xml +b10-init.8: b10-init.xml + @XSLTPROC@ --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-init.xml #dist-local-check-mans-enabled: # @if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi @@ -40,15 +41,15 @@ $(man_MANS): endif -$(PYTHON_LOGMSGPKG_DIR)/work/bind10_messages.py : bind10_messages.mes +$(PYTHON_LOGMSGPKG_DIR)/work/init_messages.py : init_messages.mes $(top_builddir)/src/lib/log/compiler/message \ - -d $(PYTHON_LOGMSGPKG_DIR)/work -p $(srcdir)/bind10_messages.mes + -d $(PYTHON_LOGMSGPKG_DIR)/work -p $(srcdir)/init_messages.mes # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix -bind10: bind10_src.py $(PYTHON_LOGMSGPKG_DIR)/work/bind10_messages.py +b10-init: b10-init.py $(PYTHON_LOGMSGPKG_DIR)/work/init_messages.py $(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \ -e "s|@@LIBDIR@@|$(libdir)|" \ - -e "s|@@LIBEXECDIR@@|$(pkglibexecdir)|" bind10_src.py >$@ + -e "s|@@LIBEXECDIR@@|$(pkglibexecdir)|" b10-init.py >$@ chmod a+x $@ pytest: diff --git a/src/bin/bind10/bind10_src.py.in b/src/bin/bind10/b10-init.py.in similarity index 100% rename from src/bin/bind10/bind10_src.py.in rename to src/bin/bind10/b10-init.py.in diff --git a/src/bin/bind10/bind10.xml b/src/bin/bind10/b10-init.xml similarity index 100% rename from src/bin/bind10/bind10.xml rename to src/bin/bind10/b10-init.xml diff --git a/src/bin/bind10/bob.spec b/src/bin/bind10/init.spec similarity index 100% rename from src/bin/bind10/bob.spec rename to src/bin/bind10/init.spec diff --git a/src/bin/bind10/bind10_messages.mes b/src/bin/bind10/init_messages.mes similarity index 100% rename from src/bin/bind10/bind10_messages.mes rename to src/bin/bind10/init_messages.mes