Source: tcltrf
Severity: wishlist
Tags: patch
User: debian...@lists.debian.org
Usertags: build-arch-target

Hi,

Please see attached patch as an example of how to do this.

Please note that the buildds are still using "build" followed by
"binary-arch".

For more information, please see [1].

~Niels

[1] https://wiki.debian.org/ReleaseGoals/BuildArchTarget
diff -u tcltrf-2.1.4-dfsg/debian/changelog tcltrf-2.1.4-dfsg/debian/changelog
--- tcltrf-2.1.4-dfsg/debian/changelog
+++ tcltrf-2.1.4-dfsg/debian/changelog
@@ -1,3 +1,10 @@
+tcltrf (2.1.4-dfsg-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Added build-arch and build-indep targets to debian/rules.
+
+ -- Niels Thykier <ni...@thykier.net>  Sat, 12 Nov 2011 09:43:59 +0100
+
 tcltrf (2.1.4-dfsg-2) unstable; urgency=low
 
   * Fixed bug with putting library and documentation files into binary
diff -u tcltrf-2.1.4-dfsg/debian/rules tcltrf-2.1.4-dfsg/debian/rules
--- tcltrf-2.1.4-dfsg/debian/rules
+++ tcltrf-2.1.4-dfsg/debian/rules
@@ -72,7 +72,9 @@
 		--enable-static-md5 \
 		--enable-threads
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:  config.status
 	dh_testdir
 
@@ -197 +199 @@
-.PHONY: patch unpatch clean-patched build clean binary-indep binary-arch binary install get-orig-source
+.PHONY: patch unpatch clean-patched build build-arch build-indep clean binary-indep binary-arch binary install get-orig-source

Reply via email to