summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2004-11-21 17:48:01 +0000
committerGuillem Jover <guillem@debian.org>2004-11-21 17:48:01 +0000
commitbbb36052398a2776125844865bd3db85f014b450 (patch)
tree42fb9d6dad1277d2e8268a6040c2f234850767e9
parentbbeca1371aa62028c67917f52a2f977bf09288a8 (diff)
Do not use stamp files for build targets.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules12
2 files changed, 5 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index 0689bc8..5ba94f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ gnumach (1:20040915.dfsg.1-1) unstable; urgency=low
Thanks to Neal H. Walfield <neal@cs.uml.edu>.
* Fix possible buffer overrun on linux printk.
Thanks to Neal H. Walfield <neal@cs.uml.edu>.
+ * Do not use stamp files for build targets.
-- Guillem Jover <guillem@debian.org> Tue, 16 Nov 2004 07:58:02 +0100
diff --git a/debian/rules b/debian/rules
index 705af1f..4ff41a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -132,22 +132,18 @@ stamp-configure-dbg:
all build:
-build-gnumach: stamp-build-gnumach
-stamp-build-gnumach: configure
+build-gnumach: configure
dh_testdir
- $(MAKE) -C build
+ $(MAKE) -C build CFLAGS="$(CFLAGS) -DNDEBUG"
$(MAKE) -C build/doc
- touch stamp-build-gnumach
-build-gnumach-dbg: stamp-build-gnumach-dbg
-stamp-build-gnumach-dbg: configure-dbg
+build-gnumach-dbg: configure-dbg
dh_testdir
$(MAKE) -C build-dbg
- touch stamp-build-gnumach-dbg
clean::
dh_testdir
- -rm -f machine stamp-build stamp-configure
+ -rm -f machine stamp-configure
-rm -rf build build-dbg
-rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \