[Pkg-ocaml-maint-commits] [SCM] unison packaging branch, master, updated. debian/2.32.52-1
Sylvain Le Gall
gildor at debian.org
Sat Feb 27 18:58:39 UTC 2010
The following commit has been merged in the master branch:
commit 19b13fd46c7055e5fdba9e4ad1649a1296558b79
Author: Sylvain Le Gall <gildor at debian.org>
Date: Sat Feb 27 19:37:59 2010 +0100
Backup files changed during build (lwt/depend, ubase/depend)
diff --git a/debian/changelog b/debian/changelog
index 2728d54..abb6433 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ unison (2.32.52-1) UNRELEASED; urgency=low
* Generate manpage using debian/generate-manpage.ml and output of 'unison
-help', so manpage is always up-to-date
(Closes: #524526, #517972, #524475)
+ * Backup files changed during build (lwt/depend, ubase/depend)
-- Sylvain Le Gall <gildor at debian.org> Sat, 27 Feb 2010 16:29:59 +0100
diff --git a/debian/rules b/debian/rules
index cca2046..c00a36a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -90,8 +90,17 @@ DEB_INSTALL_CHANGELOGS_ALL := NEWS
# Build unison
#
+BACKUP=lwt/depend ubase/depend
configure::
cp config/Makefile.unix config/Makefile
+ for i in $(BACKUP); do \
+ if ! test -e $$i.org; then cp $$i $$i.org; fi; \
+ done
+
+clean::
+ for i in $(BACKUP); do \
+ if test -e $$i.org; then mv $$i.org $$i; fi; \
+ done
build/$(UNISON_PACKAGE)::
$(MAKE) UISTYLE=text NATIVE=$(NATIVE) $(MY_MAKE_FLAGS) CFLAGS=
--
unison packaging
More information about the Pkg-ocaml-maint-commits
mailing list