[Pkg-ocaml-maint-commits] [SCM] unison packaging branch, 2.27.57/master, updated. debian/2.27.57-4-15-g5c8760b

Stephane Glondu steph at glondu.net
Thu Feb 10 13:54:49 UTC 2011


The following commit has been merged in the 2.27.57/master branch:
commit d9a866875b3917d750138b47958127a14cddbe1f
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/rules b/debian/rules
index 872ecdd..eaba14c 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