[svn] GnuPG - r5221 - trunk/common

svn author marcus cvs at cvs.gnupg.org
Tue Dec 8 19:11:48 CET 2009


Author: marcus
Date: 2009-12-08 19:11:48 +0100 (Tue, 08 Dec 2009)
New Revision: 5221

Modified:
   trunk/common/ChangeLog
   trunk/common/Makefile.am
Log:
2009-12-08  Marcus Brinkmann  <marcus at g10code.de>

	* Makefile.am (audit-events.h, status.h) [!MAINTAINER_MODE]: No
	longer include these rules if not in maintainer mode.


Modified: trunk/common/ChangeLog
===================================================================
--- trunk/common/ChangeLog	2009-12-08 16:30:33 UTC (rev 5220)
+++ trunk/common/ChangeLog	2009-12-08 18:11:48 UTC (rev 5221)
@@ -1,3 +1,8 @@
+2009-12-08  Marcus Brinkmann  <marcus at g10code.de>
+
+	* Makefile.am (audit-events.h, status.h) [!MAINTAINER_MODE]: No
+	longer include these rules if not in maintainer mode.
+
 2009-12-08  Werner Koch  <wk at g10code.com>
 
 	* userids.h, userids.c: New.

Modified: trunk/common/Makefile.am
===================================================================
--- trunk/common/Makefile.am	2009-12-08 16:30:33 UTC (rev 5220)
+++ trunk/common/Makefile.am	2009-12-08 18:11:48 UTC (rev 5221)
@@ -97,6 +97,10 @@
 libgpgrl_a_SOURCES = \
         gpgrlhelp.c
 
+if MAINTAINER_MODE
+# Note: Due to the dependency on Makefile, the file will always be
+# rebuilt, so we allow this only in maintainer mode.
+
 # Create the audit-events.h include file from audit.h
 # Note: We create the target file in the source directory because it
 # is a distributed built source.  If we would not do that we may end
@@ -112,8 +116,8 @@
 	$(AWK) -f $(srcdir)/exstatus.awk $(srcdir)/status.h \
 	  | $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 -v nogettext=1 \
 		   -v namespace=statusstr_  > $(srcdir)/$@
+endif
 
-
 #
 # Module tests
 #




More information about the Gnupg-commits mailing list