From 6d1251415fc1d14018dd8280f7521bd7619ccfbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 3 Jan 2015 10:06:36 +0100 Subject: doc: fix compilation of man pages with autotools in source directory --- doc/pl/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/pl') 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) -- cgit v1.2.3