[SCM] archfs, the fuse-powered rdiff-backup browser branch, master, updated. upstream/0.5.4-11-gb6e2cee

Jon Dowland jmtd at debian.org
Sun Sep 27 22:38:22 UTC 2009


The following commit has been merged in the master branch:
commit fb0a9f718ad7666e0443f38d77578cd1250714ca
Author: Jon Dowland <jmtd at debian.org>
Date:   Sun Sep 27 23:22:46 2009 +0100

    rework clean and configure targets to preserve upstream config.{guess,sub}

diff --git a/debian/rules b/debian/rules
index 33b44ce..b7fcd34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,14 @@ endif
 
 config.status: configure
 	dh_testdir
+	if [ -f config.guess ]; then \
+		mv config.guess config.guess.upstream; \
+	fi
+	if [ -f config.sub ]; then \
+		mv config.sub config.sub.upstream; \
+	fi
+	cp -p /usr/share/misc/config.guess config.guess
+	cp -p /usr/share/misc/config.sub config.sub
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 build: build-stamp
@@ -41,13 +49,13 @@ clean:
 	rm -f build-stamp 
 	rm -f archfs.1
 	[ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
 	dh_clean 
+	if [ -f config.guess.upstream ]; then \
+		mv config.guess.upstream config.guess; \
+	fi
+	if [ -f config.sub.upstream ]; then \
+		mv config.sub.upstream config.sub; \
+	fi
 
 install: build
 	dh_testdir

-- 
archfs, the fuse-powered rdiff-backup browser



More information about the Pkg-games-commits mailing list