summaryrefslogtreecommitdiffstats
path: root/am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-06-09 21:29:15 +0200
committerWerner Koch <wk@gnupg.org>2015-06-09 21:29:15 +0200
commit25331bba5554a39d226d32433add7784b2e170b8 (patch)
tree4c8e4d1335407bdab98c4a7584fa2b95375457ca /am
parentdirmngr: Avoid crash due to an empty crls.d/DIR.txt. (diff)
downloadgnupg2-25331bba5554a39d226d32433add7784b2e170b8.tar.xz
gnupg2-25331bba5554a39d226d32433add7784b2e170b8.zip
doc: Do not used fixed file names in the manuals.
* doc/mkdefsinc.c: New. * doc/Makefile.am: Include cmacros.am. (EXTRA_DIST): Add mkdefsinc.c defsincdate. (BUILT_SOURCES): Add defsincdate (CLEANFILES): Add mkdefsinc and defs.inc. (mkdefsinc): New rule. (yat2m-stamp): Depend on defs.inc. ($(myman_pages) gnupg.7): Ditto. (gnupg.texi): Remove rule to touch itself. (dist-hook): New. (defsincdate): New. (defs.inc): New. * doc/gnupg.texi: Remove inclusion of version.texi. Include defs.inc. Also include defs.inc in all files used to build man files. Change fixed directory names to those from defs.inc. -- GnuPG-bug-id: 1661 Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'am')
-rw-r--r--am/cmacros.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/am/cmacros.am b/am/cmacros.am
index 4b4856051..8bd839c46 100644
--- a/am/cmacros.am
+++ b/am/cmacros.am
@@ -18,6 +18,8 @@
localedir = $(datadir)/locale
+# NB: AM_CFLAGS may also be used by tools running on the build
+# platform to create source files.
AM_CPPFLAGS += -DLOCALEDIR=\"$(localedir)\"
if ! HAVE_DOSISH_SYSTEM