Browse Source

[2157] renamed statistics items generator

Yoshitaka Aharen 12 years ago
parent
commit
d5d8fa746c
3 changed files with 8 additions and 9 deletions
  1. 1 2
      configure.ac
  2. 7 7
      src/bin/auth/Makefile.am
  3. 0 0
      src/bin/auth/gen-statisticsitems.py.pre.in

+ 1 - 2
configure.ac

@@ -1279,7 +1279,7 @@ AC_OUTPUT([doc/version.ent
            src/bin/msgq/run_msgq.sh
            src/bin/auth/auth.spec.pre
            src/bin/auth/spec_config.h.pre
-           src/bin/auth/gen-statistics_items.py.pre
+           src/bin/auth/gen-statisticsitems.py.pre
            src/bin/dhcp4/spec_config.h.pre
            src/bin/dhcp6/spec_config.h.pre
            src/bin/tests/process_rename_test.py
@@ -1342,7 +1342,6 @@ AC_OUTPUT([doc/version.ent
            chmod +x src/bin/usermgr/run_b10-cmdctl-usermgr.sh
            chmod +x src/bin/msgq/run_msgq.sh
            chmod +x src/bin/msgq/tests/msgq_test
-           chmod +x src/bin/auth/gen-statistics_items.py.pre
            chmod +x src/lib/dns/gen-rdatacode.py
            chmod +x src/lib/log/tests/console_test.sh
            chmod +x src/lib/log/tests/destination_test.sh

+ 7 - 7
src/bin/auth/Makefile.am

@@ -18,8 +18,8 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@
 
 CLEANFILES  = *.gcno *.gcda auth.spec spec_config.h
 CLEANFILES += auth_messages.h auth_messages.cc
-CLEANFILES += gen-statistics_items.py
-# auto-generated by gen-statistics_items.py
+CLEANFILES += gen-statisticsitems.py
+# auto-generated by gen-statisticsitems.py
 CLEANFILES += statistics.cc statistics_items.h b10-auth.xml tests/statistics_unittest.cc
 
 man_MANS = b10-auth.8
@@ -45,12 +45,12 @@ statistics_items.h: statistics_items.h.pre statistics_msg_items.def
 statistics.cc: statistics.cc.pre statistics_msg_items.def
 tests/statistics_unittest.cc: tests/statistics_unittest.cc.pre statistics_msg_items.def
 
-gen-statistics_items.py: gen-statistics_items.py.pre
-	$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" gen-statistics_items.py.pre >$@
+gen-statisticsitems.py: gen-statisticsitems.py.pre
+	$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" gen-statisticsitems.py.pre >$@
 	chmod +x $@
 
-auth.spec b10-auth.xml statistics_items.h statistics.cc tests/statistics_unittest.cc: Makefile gen-statistics_items.py
-	./gen-statistics_items.py
+auth.spec b10-auth.xml statistics_items.h statistics.cc tests/statistics_unittest.cc: Makefile gen-statisticsitems.py
+	./gen-statisticsitems.py
 
 spec_config.h: spec_config.h.pre
 	$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
@@ -59,7 +59,7 @@ auth_messages.h auth_messages.cc: auth_messages.mes
 	$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/auth/auth_messages.mes
 
 BUILT_SOURCES = spec_config.h auth_messages.h auth_messages.cc
-# auto-generated by gen-statistics_items.py
+# auto-generated by gen-statisticsitems.py
 BUILT_SOURCES += statistics_items.h statistics.cc
 
 pkglibexec_PROGRAMS = b10-auth

src/bin/auth/gen-statistics_items.py.pre.in → src/bin/auth/gen-statisticsitems.py.pre.in