[SCM] faust/master: build manpages

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed May 18 15:13:10 UTC 2016


The following commit has been merged in the master branch:
commit 3c037f42df2f4435c66b324bb4b1c87c45a9b7eb
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Wed May 18 16:27:28 2016 +0200

    build manpages

diff --git a/debian/rules b/debian/rules
index 0a99222..5d80813 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,15 +21,23 @@ include /usr/share/cdbs/1/class/makefile-vars.mk
 include /usr/share/cdbs/1/rules/utils.mk
 
 DEB_COMPRESS_EXCLUDE_ALL=.dsp .lib Makefile
+MANPAGEDIR=debian/man
 
 build/faust::
 	CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) PREFIX=/usr
+	mkdir -p $(MANPAGEDIR)
+	help2man -N -n "functional programming language for realtime audio applications" \
+		debian/faust-help2man > $(MANPAGEDIR)/faust.1
+	help2man -N -n "Compile faust DSP code into SuperCollider module" \
+		tools/faust2sc-1.0.0/faust2sc > $(MANPAGEDIR)/faust2sc.1
+	debian/faust2man $(MANPAGEDIR) debian/faust2api.1
 
 install/faust::
 	CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) DESTDIR=$(DEB_DESTDIR) PREFIX=/usr install
 
 clean::
 	$(MAKE) clean
+	-rm -rf $(MANPAGEDIR)
 
 #override_dh_auto_install:
 #	$(MAKE) prefix=`pwd`/debian/faust/usr install

-- 
faust packaging



More information about the pkg-multimedia-commits mailing list