Create install-stamp target in debian/rules and adjust dependencies
authorgregor herrmann <gregoa@debian.org>
Tue, 25 Dec 2007 00:31:09 +0000 (00:31 -0000)
committergregor herrmann <gregoa@debian.org>
Tue, 25 Dec 2007 00:31:09 +0000 (00:31 -0000)
  accordingly.

debian/changelog
debian/rules

index e91748558da87ad700752c5ea08f3ccf356c19a9..49d3fb972fc01fd56ec66c339254e24d02ee0977 100644 (file)
@@ -1,3 +1,10 @@
+mimetic (0.9.3-3) UNRELEASED; urgency=low
+
+  * Create install-stamp target in debian/rules and adjust dependencies
+    accordingly.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 24 Dec 2007 23:22:07 +0100
+
 mimetic (0.9.3-2) unstable; urgency=low
 
   * Switch from ${Source-Version} to ${binary:Version} in debian/control to
index c0ade0f79153e1cbcd316403c6af821a619f43b1..8cc483424585d01b1e4299574969ca08a8d6360b 100755 (executable)
@@ -36,12 +36,11 @@ build-stamp: $(QUILT_STAMPFN) config.status
        $(MAKE)
        #cd $(CURDIR)/doc && $(MAKE) docs
        $(MAKE) -C $(CURDIR)/doc docs
-       touch build-stamp
+       touch $@
 
 clean: unpatch
        dh_testdir
        dh_testroot
-       rm -f build-stamp 
 
        [ ! -f Makefile ] || $(MAKE) distclean
        [ ! -f $(CURDIR)/doc/Makefile ] || $(MAKE) -C $(CURDIR)/doc dist-clean
@@ -54,15 +53,16 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" ""
        cp -f /usr/share/misc/config.guess config.guess
 endif
 
-       dh_clean 
+       dh_clean build-stamp install-stamp
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k 
        dh_installdirs
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
+       touch $@
 
 # Build architecture-independent files here.
 binary-indep: build install