[Pkg-ocaml-maint-commits] [SCM] alt-ergo packaging branch, experimental/master, updated. debian/0.94-2-23-g8e5156a

Ralf Treinen treinen at free.fr
Tue Apr 9 07:21:32 UTC 2013


The following commit has been merged in the experimental/master branch:
commit 62ee0ac5de0b775b9df55fc5da078919e4726a11
Author: Ralf Treinen <treinen at free.fr>
Date:   Mon Apr 8 21:57:24 2013 +0200

    drop our own prodcution of META

diff --git a/debian/META.in b/debian/META.in
deleted file mode 100644
index ea49d2a..0000000
--- a/debian/META.in
+++ /dev/null
@@ -1,5 +0,0 @@
-requires = ""
-description = "Alt-Ergo library"
-archive(byte) = "altErgo.cmo"
-archive(native) = "altErgo.cmx"
-version = "@VERSION@"
diff --git a/debian/changelog b/debian/changelog
index 5bb5f1b..851c025 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ alt-ergo (0.95.1-1) UNRELEASED; urgency=low
        is now subsumed by "make all"
      - dh_auto_install: only call "make install" since thsi subsumes the
        other targets
+  * Drop creation of the META file by debian/rules as this is now done by
+    upstream's Makefile.
   * Added myself as uploader.
   * Standards-Version 3.9.4 (no change)
   * debian/copyright:
diff --git a/debian/rules b/debian/rules
index e9f9a11..d2101c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,6 @@
 include /usr/share/ocaml/ocamlvars.mk
 
 BACKUP=.depend
-VERSION=$(shell dpkg-parsechangelog| sed -n "s/Version: //p")
 
 override_dh_auto_configure:
 	./configure --host=$(DEB_HOST_GNU_TYPE) \
@@ -38,7 +37,6 @@ override_dh_auto_install:
 		MANDIR=$(CURDIR)/debian/alt-ergo/usr/share/man \
 		prefix=$(CURDIR)/debian/alt-ergo/usr \
 		install
-	sed "s/@VERSION@/$(VERSION)/" debian/META.in > $(CURDIR)/debian/alt-ergo/$(OCAML_STDLIB_DIR)/alt-ergo/META
 
 %:
 	dh --with ocaml $@

-- 
alt-ergo packaging



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