shithub: sox

Download patch

ref: 0a33a06e6109daa2edc8d2188a23418f687e11d1
parent: 11eccd5a11cdbe1b7caf642901d85368a1ebc4d9
author: robs <robs>
date: Sat Jan 6 03:51:49 EST 2007

Add rule for PDF man page.

--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,12 @@
 %.txt: %.1
 	tbl $(srcdir)/$< | nroff -man -Tascii | col -b > $@
 
+# Rule for making PDF man pages
+%.pdf: %.1
+	tbl $(srcdir)/$< | groff -man -Tps | ps2pdf - $@
+
+pdf: sox.pdf soxexam.pdf
+
 # Automatically update libtool script if it gets out-of-date
 libtool: $(LIBTOOL_DEPS)
 	$(SHELL) ./config.status --recheck