Source: aptitude
Version: 0.6.4-1.2
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 -Nru aptitude-0.6.4/debian/changelog aptitude-0.6.4/debian/changelog
--- aptitude-0.6.4/debian/changelog	2011-10-29 20:53:26.000000000 +0200
+++ aptitude-0.6.4/debian/changelog	2011-11-12 09:03:36.000000000 +0100
@@ -1,3 +1,10 @@
+aptitude (0.6.4-1.3) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add build-arch and build-indep targets to debian/rules.
+
+ -- Niels Thykier <ni...@thykier.net>  Sat, 12 Nov 2011 09:00:29 +0100
+
 aptitude (0.6.4-1.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru aptitude-0.6.4/debian/rules aptitude-0.6.4/debian/rules
--- aptitude-0.6.4/debian/rules	2011-05-16 05:27:05.000000000 +0200
+++ aptitude-0.6.4/debian/rules	2011-11-12 09:03:31.000000000 +0100
@@ -53,7 +53,7 @@
 
 	touch build-stamp-curses
 
-build:
+build build-arch build-indep:
 	# As per policy 4.9, do nothing.
 
 clean:
@@ -159,4 +159,4 @@
 	dh_builddeb -i
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install

Reply via email to