diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-03 10:06:36 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-03 10:06:36 +0100 |
commit | 6d1251415fc1d14018dd8280f7521bd7619ccfbf (patch) | |
tree | 71125327e6cb5c70bcd312d701d6335968fe26c5 /doc/fr | |
parent | d8e8053beaa63dfbc9e3ee6b00902eb0714df4c8 (diff) | |
download | weechat-6d1251415fc1d14018dd8280f7521bd7619ccfbf.zip |
doc: fix compilation of man pages with autotools in source directory
Diffstat (limited to 'doc/fr')
-rw-r--r-- | doc/fr/Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am index cfbc23c19..8323d4b55 100644 --- a/doc/fr/Makefile.am +++ b/doc/fr/Makefile.am @@ -55,9 +55,12 @@ all-local: $(man_targets) $(doc_targets) # man page weechat.1: weechat.1.fr.asciidoc cmdline_options.fr.asciidoc - cp -f $(abs_top_srcdir)/doc/fr/weechat.1.fr.asciidoc . - cp -f $(abs_top_srcdir)/doc/fr/cmdline_options.fr.asciidoc . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.fr.asciidoc + -mkdir tmp_man + cp -f $(abs_top_srcdir)/doc/fr/weechat.1.fr.asciidoc ./tmp_man/ + cp -f $(abs_top_srcdir)/doc/fr/cmdline_options.fr.asciidoc ./tmp_man/ + (cd tmp_man && $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.fr.asciidoc) + mv -f tmp_man/weechat.1 . + rm -rf tmp_man # user's guide weechat_user.fr.html: weechat_user.fr.asciidoc cmdline_options.fr.asciidoc $(wildcard autogen/user/*.asciidoc) |