Source: vflib3
Severity: wishlist
Tags: patch

Hi,

Please add support for build-arch and build-indep targets.  Attached is a
patch that can be used as example for how this is done.

~Niels

PS: It looks like the clean target is insufficient.  There are two
auto-generated files (src/vflmkcaptex configure) that are modified
during the build.
diff -u vflib3-3.6.14.dfsg/debian/rules vflib3-3.6.14.dfsg/debian/rules
--- vflib3-3.6.14.dfsg/debian/rules
+++ vflib3-3.6.14.dfsg/debian/rules
@@ -55,7 +55,9 @@
 
 	touch configure-stamp
 
-build: patch configure-stamp build-stamp
+build: build-arch build-indep
+build-arch: patch configure-stamp build-stamp
+build-indep: patch configure-stamp build-stamp
 build-stamp: 
 	dh_testdir
 
diff -u vflib3-3.6.14.dfsg/debian/changelog vflib3-3.6.14.dfsg/debian/changelog
--- vflib3-3.6.14.dfsg/debian/changelog
+++ vflib3-3.6.14.dfsg/debian/changelog
@@ -1,3 +1,10 @@
+vflib3 (3.6.14.dfsg-1.2) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Added build-arch and build-indep targets to debian/rules.
+
+ -- Niels Thykier <ni...@thykier.net>  Thu, 10 Nov 2011 14:14:29 +0100
+
 vflib3 (3.6.14.dfsg-1.1) unstable; urgency=low
 
   * Non-maintainer upload.

Reply via email to