shithub: sox

Download patch

ref: fe74073efef1616f573afd8c4c926ecbd66d0d72
parent: 75f1ab3f05c0fddf8802f53b9ea7ae46fd1926fc
author: rrt <rrt>
date: Tue Dec 19 06:24:32 EST 2006

Explain rule for making plain-text man pages.

--- a/Makefile.am
+++ b/Makefile.am
@@ -2,8 +2,17 @@
 
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = src
+if INTERNAL_LUA
+  MAYBE_LUA = src/lua
+endif
 
+SUBDIRS = $(MAYBE_LUA) src
+
 # man pages are not considered to be sources, so need to add "dist_"
 # prefix to ensure they are added to the distribution.
 dist_man_MANS = sox.1 soxexam.1 play.1 libst.3
+dist_pkgdata_DATA = sox.txt soxexam.txt
+
+# Rule for making plain text man pages
+%.txt: %.1
+	nroff -man $(srcdir)/$< | col -b > $@