fixes out-of-tree build manpage generation

Unfortunately, a2x generates the manpage only in the directory where the
source file is located and it does not offer a command line option to
change the output directory. I hope, the `if ! test -f` hack I
implemented works everywhere.
pull/49/merge
Christian Krause 9 years ago
parent 033fa93a76
commit a12755fd16

@ -16,8 +16,11 @@ pixz_SOURCES = \
write.c
pixz.1: pixz.1.asciidoc
$(A2X) -a manversion=$(PACKAGE_VERSION) -f manpage pixz.1.asciidoc
$(A2X) -a manversion=$(PACKAGE_VERSION) -f manpage $(top_srcdir)/src/pixz.1.asciidoc
if ! test -f pixz.1 ; then mv -f $(top_srcdir)/src/pixz.1 . ; fi
man_MANS = pixz.1
CLEANFILES = pixz.1
EXTRA_DIST = pixz.1.asciidoc

Loading…
Cancel
Save