diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-09-28 11:40:12 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-09-28 11:40:12 +0300 |
commit | 9166682dc601fd42c1b9510572e3f917d18de504 (patch) | |
tree | bfb375ceca9e23ac6946c61ecf14987368f622a8 /Makefile.am | |
parent | Move version.sh to build-aux. (diff) | |
download | xz-9166682dc601fd42c1b9510572e3f917d18de504.tar.xz |
Create the PDF versions of the man pages better.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 34b49fa7..809197e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,6 +38,7 @@ EXTRA_DIST = \ COPYING.LGPLv2.1 \ INSTALL.generic \ PACKAGERS \ + build-aux/manconv.sh \ build-aux/version.sh ACLOCAL_AMFLAGS = -I m4 @@ -64,14 +65,15 @@ dist-hook: $(MKDIR_P) "$$dest/pdf-a4" "$$dest/pdf-letter" "$$dest/txt" && \ for FILE in $(manfiles); do \ BASE=`basename $$FILE .1` && \ - groff -man -t -Tps -P-pa4 < "$(srcdir)/$$FILE" \ - | ps2pdf - - \ + sh "$(srcdir)/build-aux/manconv.sh" pdf a4 \ + < "$(srcdir)/$$FILE" \ > "$$dest/pdf-a4/$$BASE-a4.pdf" && \ - groff -man -t -Tps -P-pletter < "$(srcdir)/$$FILE" \ - | ps2pdf - - \ + sh "$(srcdir)/build-aux/manconv.sh" pdf letter \ + < "$(srcdir)/$$FILE" \ > "$$dest/pdf-letter/$$BASE-letter.pdf" && \ - groff -man -t -Tascii < "$(srcdir)/$$FILE" \ - | col -bx > "$$dest/txt/$$BASE.txt"; \ + sh "$(srcdir)/build-aux/manconv.sh" ascii \ + < "$(srcdir)/$$FILE" \ + > "$$dest/txt/$$BASE.txt"; \ done; \ fi |