[Pkg-ocaml-maint-commits] [SCM] mlpost packaging branch, master, updated. upstream/0.5-4-gf7e6cb1
Stephane Glondu
steph at glondu.net
Tue Feb 3 00:28:49 UTC 2009
The following commit has been merged in the master branch:
commit f7e6cb1ebd1f5058e4e614240cb606b0e605155d
Author: Stephane Glondu <steph at glondu.net>
Date: Tue Feb 3 01:21:32 2009 +0100
Fix META file generation
diff --git a/debian/META.in b/debian/META.template
similarity index 100%
rename from debian/META.in
rename to debian/META.template
diff --git a/debian/rules b/debian/rules
index cd97d5d..9f1affb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,11 +20,11 @@ pre-build:: debian/META
if [ ! -f debian/$$u.backup ]; then cp $$u debian/$$u.backup; fi \
done
-debian/META: debian/META.in ocamlinit-stamp
- sed 's/@VERSION@/$(shell sed -n 's/VERSION *= *//p' Makefile.in)/' $< > $@
+debian/META: debian/META.template ocamlinit-stamp
+ sed 's/@VERSION@/$(shell sed -n 's/^VERSION *= *//p' Makefile.in)/' $< > $@
clean::
- rm -Rf $(EXAMPLES_TARBALL) html tool.byte
+ rm -Rf $(EXAMPLES_TARBALL) html tool.byte debian/META
# Restore upstream tree
for u in $(FILES_TO_BACKUP); do \
if [ -f debian/$$u.backup ]; then mv debian/$$u.backup $$u; fi \
--
mlpost packaging
More information about the Pkg-ocaml-maint-commits
mailing list