diff options
author | Russ Allbery <rra@stanford.edu> | 2008-04-24 23:13:35 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-04-24 23:13:35 +0000 |
commit | 02d8d4f480a479c653a097f6b280134ec1cac60d (patch) | |
tree | 91b85ce58368f28578ef996e646c3891cf4963ec | |
parent | e32bf6b7ed1f37464fbb48ed7a2fd1b27df9cf60 (diff) |
* Use a separate stamp file for configure and install and use touch $@
to create stamp files.
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | debian/rules | 18 |
2 files changed, 13 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog index 7f229d2..71721fd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ wallet (0.9-1) unstable; urgency=low - kasetkey supports enable, disable, and examine. - Stop setting Stanford-specific server defaults. * The test suite no longer needs libio-string-perl. + * Use a separate stamp file for configure and install and use touch $@ + to create stamp files. * Update debhelper compatibility level to V5 (no changes required). -- Russ Allbery <rra@debian.org> Thu, 24 Apr 2008 16:09:19 -0700 diff --git a/debian/rules b/debian/rules index 2cc09c8..3205af0 100755 --- a/debian/rules +++ b/debian/rules @@ -32,30 +32,33 @@ else CFLAGS += -O2 endif -config.status: configure +configure: configure-stamp +configure-stamp: dh_testdir CFLAGS="$(CFLAGS)" ./configure $(SYSTEM) --prefix=/usr \ --mandir=\$${prefix}/share/man --with-afs \ --with-wallet-server=wallet.stanford.edu \ --enable-reduced-depends + touch $@ build: build-arch build-indep build-arch: build-stamp build-indep: -build-stamp: config.status +build-stamp: configure-stamp dh_testdir $(MAKE) $(MAKE) check - touch build-stamp + touch $@ clean: dh_testdir dh_testroot - rm -f build-stamp + rm -f configure-stamp build-stamp install-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_clean -install: build-stamp +install: install-stamp +install-stamp: build-stamp dh_testdir dh_testroot dh_clean @@ -65,11 +68,12 @@ install: build-stamp DH_OPTIONS= dh_install --fail-missing install -m 0644 config/keytab.acl \ $(CURDIR)/debian/keytab-backend/etc/remctl/acl/keytab + touch $@ binary: binary-arch binary-indep binary-arch: DH_OPTIONS=-a -binary-arch: install +binary-arch: install-stamp dh_testdir dh_testroot dh_installchangelogs NEWS @@ -86,7 +90,7 @@ binary-arch: install dh_builddeb binary-indep: DH_OPTIONS=-i -binary-indep: install +binary-indep: install-stamp dh_testdir dh_testroot dh_installchangelogs NEWS |