summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-11-05 15:02:50 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-11-10 00:24:30 +0300
commit8762b0ebe1d2bf64a0b97486fe12da084d9fa041 (patch)
treea7b1d56cc6aa4bc96cabf885e7be52d2fc0af9d0
parent9150eadade0e1af598fd779c426039ef8069fff7 (diff)
downloadgnutls-8762b0ebe1d2bf64a0b97486fe12da084d9fa041.tar.gz
manpages: fix tools manpages generation
Pass additional include path to let autogen find common arguments template. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-rw-r--r--doc/manpages/Makefile.am22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/manpages/Makefile.am b/doc/manpages/Makefile.am
index 016fd5c58d..246b50005f 100644
--- a/doc/manpages/Makefile.am
+++ b/doc/manpages/Makefile.am
@@ -41,55 +41,55 @@ endif
# is not currently the case so we do remove it
# before processing. Once the new version of autogen
# is out, replace the sed and tmp files with a simple
-# autogen -DMAN_SECTION=1 -Tagman-cmd.tpl $<
+# autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl $<
certtool.1: ../../src/certtool-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
ocsptool.1: ../../src/ocsptool-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
danetool.1: ../../src/danetool-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
gnutls-cli.1: ../../src/cli-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
gnutls-serv.1: ../../src/serv-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
gnutls-cli-debug.1: ../../src/cli-debug-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
srptool.1: ../../src/srptool-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
p11tool.1: ../../src/p11tool-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
tpmtool.1: ../../src/tpmtool-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
psktool.1: ../../src/psktool-args.def
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
- autogen -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
+ autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
rm -f "$<".tmp
APIMANS =