Browse Source

[trac764] add (empty) messages file for notify out

Jelte Jansen 14 years ago
parent
commit
4082b7fdb7

+ 2 - 2
src/lib/python/Makefile.am

@@ -1,6 +1,6 @@
 SUBDIRS = isc
 
-python_PYTHON =	bind10_config.py config_messages.py
+python_PYTHON =	bind10_config.py
 pythondir = $(pyexecdir)
 
 # Explicitly define DIST_COMMON so ${python_PYTHON} is not included
@@ -10,7 +10,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in bind10_config.py.in
 # When setting DIST_COMMON, then need to add the .in file too.
 EXTRA_DIST =  bind10_config.py.in
 
-CLEANFILES = bind10_config.pyc config_messages.pyc config_messages.py
+CLEANFILES = bind10_config.pyc
 CLEANDIRS = __pycache__
 
 clean-local:

+ 4 - 1
src/lib/python/isc/config/Makefile.am

@@ -8,10 +8,13 @@ pythondir = $(pyexecdir)/isc/config
 # Define rule to build logging source files from message file
 cfgmgr_messages.py: cfgmgr_messages.mes
 	$(top_builddir)/src/lib/log/compiler/message -p $(top_srcdir)/src/lib/python/isc/config/cfgmgr_messages.mes
+
 $(top_builddir)/src/lib/python/config_messages.py: config_messages.mes
 	$(top_builddir)/src/lib/log/compiler/message -p $(top_srcdir)/src/lib/python/isc/config/config_messages.mes -d $(top_builddir)/src/lib/python
 
-CLEANFILES = cfgmgr_messages.py cfgmgr_messages.pyc config_messages.py config_messages.pyc
+CLEANFILES =  cfgmgr_messages.py cfgmgr_messages.pyc
+CLEANFILES += $(top_builddir)/src/lib/python/config_messages.py
+CLEANFILES += $(top_builddir)/src/lib/python/config_messages.pyc
 
 CLEANDIRS = __pycache__
 

+ 9 - 0
src/lib/python/isc/notify/Makefile.am

@@ -1,9 +1,18 @@
 SUBDIRS = . tests
 
 python_PYTHON = __init__.py notify_out.py
+pyexec_DATA = $(top_builddir)/src/lib/python/notify_out_messages.py
 
 pythondir = $(pyexecdir)/isc/notify
 
+$(top_builddir)/src/lib/python/notify_out_messages.py: notify_out_messages.mes
+	$(top_builddir)/src/lib/log/compiler/message -p $(top_srcdir)/src/lib/python/isc/notify/notify_out_messages.mes -d $(top_builddir)/src/lib/python
+
+EXTRA_DIST = notify_out_messages.mes
+
+CLEANFILES =  $(top_builddir)/src/lib/python/notify_out_messages.pyc
+CLEANFILES += $(top_builddir)/src/lib/python/notify_out_messages.py
+
 CLEANDIRS = __pycache__
 
 clean-local: