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

Hi,

Please see attached patch for an example of how this could be done.

In order to progress in a timely manner with /proposed/ release goal,
it is my intention to NMU this package in 14 days (to DELAYED/10) if
I have not heard from you.

Thank you in advance for considering,
~Niels
diff -Nru maxima-5.24.0/debian/changelog maxima-5.24.0/debian/changelog
--- maxima-5.24.0/debian/changelog	2011-05-16 18:56:23.000000000 +0200
+++ maxima-5.24.0/debian/changelog	2011-11-09 09:03:50.000000000 +0100
@@ -1,3 +1,10 @@
+maxima (5.24.0-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Added build-arch and build-indep targets in d/rules.
+
+ -- Niels Thykier <ni...@thykier.net>  Wed, 09 Nov 2011 09:01:51 +0100
+
 maxima (5.24.0-1) unstable; urgency=low
 
   * New upstream release
diff -Nru maxima-5.24.0/debian/rules maxima-5.24.0/debian/rules
--- maxima-5.24.0/debian/rules	2011-05-16 18:57:50.000000000 +0200
+++ maxima-5.24.0/debian/rules	2011-11-09 09:03:49.000000000 +0100
@@ -47,7 +47,9 @@
 	rm -rf debian/save
 
 MVERS:=$(shell head -n 1 debian/changelog | cut -f2 -d\  | tr -d '()' | cut -f1 -d-)
-build: debian/save build-stamp
+build: build-arch build-indep
+build-arch: debian/save build-stamp
+build-indep: debian/save build-stamp
 build-stamp:
 	dh_testdir
 
@@ -282,4 +284,4 @@
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 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