summaryrefslogtreecommitdiff
path: root/doc/de
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-01-03 10:06:36 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-01-03 10:06:36 +0100
commit6d1251415fc1d14018dd8280f7521bd7619ccfbf (patch)
tree71125327e6cb5c70bcd312d701d6335968fe26c5 /doc/de
parentd8e8053beaa63dfbc9e3ee6b00902eb0714df4c8 (diff)
downloadweechat-6d1251415fc1d14018dd8280f7521bd7619ccfbf.zip
doc: fix compilation of man pages with autotools in source directory
Diffstat (limited to 'doc/de')
-rw-r--r--doc/de/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
index 51ef11133..5817c7074 100644
--- a/doc/de/Makefile.am
+++ b/doc/de/Makefile.am
@@ -48,9 +48,12 @@ all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.de.asciidoc cmdline_options.de.asciidoc
- cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.asciidoc .
- cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.asciidoc .
- $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.asciidoc
+ -mkdir tmp_man
+ cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.asciidoc ./tmp_man/
+ cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.asciidoc ./tmp_man/
+ (cd tmp_man && $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.asciidoc)
+ mv -f tmp_man/weechat.1 .
+ rm -rf tmp_man
# user's guide
weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc)