aboutsummaryrefslogtreecommitdiffstats
path: root/common/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'common/Makefile.am')
-rw-r--r--common/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index bd0f0c234..03e62ef85 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -96,6 +96,10 @@ libsimple_pwquery_a_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS)
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,6 +116,8 @@ status-codes.h: Makefile mkstrtable.awk exstatus.awk status.h
| $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 -v nogettext=1 \
-v namespace=statusstr_ > $(srcdir)/$@
+endif
+
#
# Module tests