[Pkg-ocaml-maint-commits] [SCM] cairo-ocaml packaging branch, master, updated. debian/20070908-1-15-gd56d5fb
Samuel Mimram
smimram at debian.org
Mon Feb 23 17:26:46 UTC 2009
The following commit has been merged in the master branch:
commit 69845b7f64df500392927c36b341eeeaa787a09b
Author: Samuel Mimram <smimram at debian.org>
Date: Mon Feb 23 18:04:09 2009 +0100
Target to generate tarball from CVS.
diff --git a/debian/rules b/debian/rules
index 48ef21b..39f9f76 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,15 @@ OFILES := $(patsubst %.in,%,$(wildcard debian/*.in))
DESTDIR = $(CURDIR)/debian/tmp
+NOW := `date +"%Y%m%d"`
+
+orig-tarball:
+ CVSROOT=":pserver:anoncvs at cvs.cairographics.org:/cvs/cairo" cvs co cairo-ocaml
+ mv cairo-ocaml cairo-ocaml-$(NOW)
+ cd cairo-ocaml-$(NOW); rm -rf $$(find . -name CVS) $$(find . -name .cvsignore)
+ tar zcvf cairo-ocaml_$(NOW).orig.tar.gz cairo-ocaml-$(NOW)
+ rm -rf cairo-ocaml-$(NOW)
+
ocamlinit:
for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
--
cairo-ocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list