[SCM] jack-tools/master: More reliably generate manpages.

js at users.alioth.debian.org js at users.alioth.debian.org
Mon Jan 3 05:55:38 UTC 2011


The following commit has been merged in the master branch:
commit d45d13b8d53cf28b53625bdddb9dd2446aa66edc
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jan 1 23:20:20 2011 +0100

    More reliably generate manpages.

diff --git a/debian/rules b/debian/rules
index 9586520..6055db0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
 
 override_dh_auto_build:
 	dh_auto_build
-	for i in *.text ; do asciidoc -d manpage -b docbook $$i ; xsltproc  /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `basename $$i .text`.xml ; done
+	find -maxdepth 1 -type f -name '*.text' -exec a2x -f manpage '{}' ';'
 
 override_dh_auto_clean:
 	# looks like no 'make clean' target is generated
@@ -34,7 +34,7 @@ override_dh_auto_clean:
 		config/* \
 		common/Makefile \
 		common/.deps \
-		*.1 *.xml
+		*.1
 	dh_auto_clean
 
 get-orig-source:

-- 
jack-tools packaging



More information about the pkg-multimedia-commits mailing list