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

Samuel Mimram smimram at costa.debian.org
Sun Apr 16 23:34:12 UTC 2006


Author: smimram
Date: 2006-04-16 23:34:11 +0000 (Sun, 16 Apr 2006)
New Revision: 2618

Modified:
   trunk/packages/ocaml/trunk/debian/rules
Log:
Forgot the rules from 3.09.2rc1.

Modified: trunk/packages/ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/ocaml/trunk/debian/rules	2006-04-16 23:31:48 UTC (rev 2617)
+++ trunk/packages/ocaml/trunk/debian/rules	2006-04-16 23:34:11 UTC (rev 2618)
@@ -9,7 +9,7 @@
 include /usr/share/dpatch/dpatch.make
 PACKAGE = ocaml
 OCAMLMAJOR = 3.09
-OCAMLMINOR = 1
+OCAMLMINOR = 2+rc1
 OCAMLABI = $(OCAMLMAJOR).$(OCAMLMINOR)
 STDLIBDIR = /usr/lib/ocaml/$(OCAMLABI)
 MD5SUMSDIR = /var/lib/ocaml/md5sums
@@ -45,6 +45,12 @@
 	done
 	touch $@
 
+abi-sed-clean:
+	rm -f abi-sed
+	for t in `find debian/ -name \*.in | grep -v debian/control.in`; do \
+	  rm -f $${t%.in}; \
+	done
+
 # Generate ocaml-native-compilers' Architecture field.
 # Should never be called automatically.
 debian/control:
@@ -53,7 +59,7 @@
 # Generate list of files ocaml-source.
 # Should never be called automatically.
 debian/ocaml-source.files:
-	tar ztf ../upstream/ocaml_3.09.1.orig.tar.gz | cut -d/ -f2- | grep -v ^$$ | grep -v .*/$$ | grep -v .cvsignore > debian/ocaml-source.files
+	tar ztf ../upstream/ocaml_3.09.1+3.09.2rc1.orig.tar.gz | cut -d/ -f2- | grep -v ^$$ | grep -v .*/$$ | grep -v .cvsignore > debian/ocaml-source.files
 
 
 config-stamp: configure abi-sed
@@ -76,6 +82,7 @@
 	touch config-stamp
 
 
+patch-stamp: abi-sed
 # Architecture
 build: build-arch build-indep
 
@@ -127,6 +134,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 +300,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