[Pkg-ocaml-maint-commits] r1893 - trunk/packages/ocaml/trunk/debian

Sven Luther luther at costa.debian.org
Wed Nov 2 12:00:05 UTC 2005


Author: luther
Date: 2005-11-02 12:00:05 +0000 (Wed, 02 Nov 2005)
New Revision: 1893

Modified:
   trunk/packages/ocaml/trunk/debian/rules
Log:
Let's do the abiname sed before clean too.


Modified: trunk/packages/ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/ocaml/trunk/debian/rules	2005-11-02 11:50:08 UTC (rev 1892)
+++ trunk/packages/ocaml/trunk/debian/rules	2005-11-02 12:00:05 UTC (rev 1893)
@@ -37,10 +37,12 @@
 	INSTALL_PROGRAM += -s
 endif
 
-config-stamp: configure
+abi-sed:
 	for t in `find . -name \*.in`; do \
 	  sed -e 's%#OcamlABI#%$(OCAMLABI)%' -e 's%#OcamlMAJOR#%$(OCAMLMAJOR)%' $$t >$${t%.in};	\
 	done
+
+config-stamp: configure abi-sed
 	dh_testdir
 	# Add here commands to configure the package.
 	./configure --with-pthread -prefix /usr				\
@@ -89,7 +91,7 @@
 	# Add here commands to compile the indep part of the package.
 	#$(MAKE) doc
 
-clean: unpatch
+clean: abi-sed unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-arch-stamp build-indep-stamp config-stamp




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