[SCM] an open source computer algebra system branch, debian, updated. c40d094daf8d9e20b6da34043c5c07b609118264

Bernhard R. Link brlink at debian.org
Sun Feb 19 18:16:42 UTC 2012


The following commit has been merged in the debian branch:
commit c40d094daf8d9e20b6da34043c5c07b609118264
Author: Bernhard R. Link <brlink at debian.org>
Date:   Sun Feb 19 19:16:54 2012 +0100

    explicitly mark phony targets phony and make install a only phony rule (getting rid of install-stamp)

diff --git a/debian/rules b/debian/rules
index 6df77c4..898b63a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -105,7 +105,7 @@ binary: binary-arch binary-indep
 binary-indep:
 build-indep:
 
-binary-arch: install-stamp
+binary-arch: install
 	dh_testdir
 	dh_testroot
 	dh_install
@@ -132,19 +132,15 @@ configure-stamp:
 	LDFLAGS="$(LDFLAGS) -L$(CURDIR)/factory -L$(CURDIR)/libfac -L$(CURDIR)/omalloc" \
 	enable_NTL=no \
 	./configure $(DEB_CONFIGURE_EXTRA_FLAGS)
-	rm -f install-stamp
 	touch $@
 
 build build-arch: build-stamp
 
 build-stamp: configure-stamp
 	make
-	rm -f install-stamp
 	touch $@
 
-install: install-stamp
-
-install-stamp: build-stamp
+install: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_prep
@@ -155,3 +151,4 @@ install-stamp: build-stamp
 	# PREFIX='$(PREFIX)' MAKE='$(MAKE) $(DEB_MAKE_INVOKE) PREFIX="$(PREFIX)"'
 	touch $@
 
+.PHONY: build-arch build-indep build install binary-arch binary-indep binary clean

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list