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