[Pkg-ocaml-maint-commits] [SCM] Debian packaging for coccinelle branch, master, updated. debian/0.1.6.deb+a-2-3-g9f949d6

Eugeniy Meshcheryakov eugen at debian.org
Tue Apr 7 10:47:21 UTC 2009


The following commit has been merged in the master branch:
commit cfc07a41b5850d529059687d468c95cf7d6b6b28
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date:   Tue Apr 7 02:20:06 2009 +0200

    Fix build/install target dependencies
    
    Also add workaround for bug #522906 in topgit (causes multiple runs
    of build-stamp target)

diff --git a/debian/changelog b/debian/changelog
index 87e9d41..511605b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+coccinelle (0.1.6.deb+a-3) experimental; urgency=low
+
+  * Fix build/install target dependencies. Also add workaround for
+    bug #522906 in topgit (causes multiple runs of build-stamp target)
+
+ -- Євгеній Мещеряков <eugen at debian.org>  Tue, 07 Apr 2009 02:29:29 +0200
+
 coccinelle (0.1.6.deb+a-2) experimental; urgency=low
 
   * Upload to experimental to let previous version migrate to testing
diff --git a/debian/rules b/debian/rules
index 81f5427..50e7f99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,9 +32,14 @@ MAKE_TGT = all
 INST_TGT = install-byte
 endif
 
-build: build-stamp
+my-very-own-patch-stamp:
+	# work around broken tg2quilt (#522906)
+	[ -f $(QUILT_STAMPFN) ] || debian/rules $(QUILT_STAMPFN)
+	touch my-very-own-patch-stamp
 
-build-stamp: patch
+build: build-stamp
+#build-stamp: $(QUILT_STAMPFN)
+build-stamp: my-very-own-patch-stamp
 	dh build --before dh_auto_configure
 	./configure $(CONFIG_FLAGS)
 	$(MAKE) $(COCCI_FLAGS) depend $(MAKE_TGT)
@@ -56,8 +61,8 @@ clean: unpatch
 	dh clean --before dh_auto_clean
 	dh clean --after dh_auto_clean
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh install --before dh_auto_install
 	$(MAKE) DESTDIR=$(CURDIR)/debian/coccinelle $(COCCI_FLAGS) $(INST_TGT)
 	# install the wrapper script, i dont like upstreams one

-- 
Debian packaging for coccinelle



More information about the Pkg-ocaml-maint-commits mailing list