[Pkg-ocaml-maint-commits] r2609 - trunk/packages/ocaml/branches/3.09.2~rc1/debian

Julien Cristau jcristau-guest at costa.debian.org
Thu Mar 30 16:19:22 UTC 2006


Author: jcristau-guest
Date: 2006-03-30 16:19:21 +0000 (Thu, 30 Mar 2006)
New Revision: 2609

Modified:
   trunk/packages/ocaml/branches/3.09.2~rc1/debian/rules
Log:
Add rule to clean out after abi-sed.


Modified: trunk/packages/ocaml/branches/3.09.2~rc1/debian/rules
===================================================================
--- trunk/packages/ocaml/branches/3.09.2~rc1/debian/rules	2006-03-30 16:18:53 UTC (rev 2608)
+++ trunk/packages/ocaml/branches/3.09.2~rc1/debian/rules	2006-03-30 16:19:21 UTC (rev 2609)
@@ -45,6 +45,12 @@
 	done
 	touch $@
 
+abi-sed-clean:
+	for t in `find debian/ -name \*.in | grep -v debian/control.in`; do \
+	  rm -f $${t%.in}; \
+	done
+	rm -f abi-sed
+
 # Generate ocaml-native-compilers' Architecture field.
 # Should never be called automatically.
 debian/control:
@@ -127,6 +133,7 @@
 endif
 
 	dh_clean debian/README.labltk camlp4/config/Makefile.cnf camlp4/config/Makefile config/m.h config/s.h config/Makefile emacs/ocamltags driver/ocamlcomp.sh
+	debian/rules abi-sed-clean
 
 install: install-indep install-arch
 install-indep: build-indep
@@ -292,4 +299,4 @@
 	dh_builddeb -s
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch build-arch
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch build-arch abi-sed-clean




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