[Pkg-ocaml-maint-commits] [SCM] calendar packaging branch, master, updated. debian/2.01.1-3-7-gac00e32
Mehdi Dogguy
dogguy at pps.jussieu.fr
Sun Apr 12 18:50:43 UTC 2009
The following commit has been merged in the master branch:
commit 5dc4b2934493c82beac8fabc604adfcd5aa71f34
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date: Sun Apr 12 20:22:29 2009 +0200
Clean cleaning
diff --git a/debian/clean b/debian/clean
index 7ca80ba..9a04815 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,4 +1,3 @@
Makefile
config.log
-.depend
-config.status
+debian/configure-stamp
diff --git a/debian/rules b/debian/rules
index 051e2eb..06702c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,18 @@ include /usr/share/cdbs/1/rules/ocaml.mk
PKGNAME = libcalendar-ocaml-dev
DEB_MAKE_INSTALL_TARGET = install OCAML_LIB_DIR=$(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
DEB_MAKE_BUILD_TARGET = all doc
+FILES_TO_BACKUP = .depend config.status
configure/$(PKGNAME):: debian/configure-stamp
debian/configure-stamp:
+ for i in $(FILES_TO_BACKUP); do \
+ cp -xa $$i $$i.debian; \
+ done
./configure
touch $@
clean::
rm -rf target/
+ for i in $(FILES_TO_BACKUP); do \
+ [ ! -f $$i.debian ] || mv $$i.debian $$i; \
+ done
--
calendar packaging
More information about the Pkg-ocaml-maint-commits
mailing list