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/pl | |
parent | d8e8053beaa63dfbc9e3ee6b00902eb0714df4c8 (diff) | |
download | weechat-6d1251415fc1d14018dd8280f7521bd7619ccfbf.zip |
doc: fix compilation of man pages with autotools in source directory
Diffstat (limited to 'doc/pl')
-rw-r--r-- | doc/pl/Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am index 29909d44b..26851d795 100644 --- a/doc/pl/Makefile.am +++ b/doc/pl/Makefile.am @@ -48,9 +48,12 @@ all-local: $(man_targets) $(doc_targets) # man page weechat.1: weechat.1.pl.asciidoc cmdline_options.pl.asciidoc - cp -f $(abs_top_srcdir)/doc/pl/weechat.1.pl.asciidoc . - cp -f $(abs_top_srcdir)/doc/pl/cmdline_options.pl.asciidoc . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.pl.asciidoc + -mkdir tmp_man + cp -f $(abs_top_srcdir)/doc/pl/weechat.1.pl.asciidoc ./tmp_man/ + cp -f $(abs_top_srcdir)/doc/pl/cmdline_options.pl.asciidoc ./tmp_man/ + (cd tmp_man && $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.pl.asciidoc) + mv -f tmp_man/weechat.1 . + rm -rf tmp_man # user's guide weechat_user.pl.html: weechat_user.pl.asciidoc cmdline_options.pl.asciidoc $(wildcard autogen/user/*.asciidoc) |