diff options
author | Loïc Minier <lool@dooz.org> | 2008-06-27 19:36:12 +0200 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2008-06-27 19:36:12 +0200 |
commit | b277dbae37b8e2c89d935fd18f7808794565135d (patch) | |
tree | c20399f9d6fa5e86a704ab6db43d6aea2661c5b5 /debian/rules | |
parent | d0f80e0b3b556c529f577b9614dfffab55b38024 (diff) | |
download | pbuilder-b277dbae37b8e2c89d935fd18f7808794565135d.tar pbuilder-b277dbae37b8e2c89d935fd18f7808794565135d.tar.gz |
Cleanup rules
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/debian/rules b/debian/rules index 40d082e..b309f07 100755 --- a/debian/rules +++ b/debian/rules @@ -1,34 +1,18 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 # This is the debhelper compatability version to use. ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - -build: configure-stamp build-stamp +build: build-stamp build-stamp: dh_testdir - - touch build-stamp + touch $@ clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. + rm -f build-stamp -$(MAKE) clean - dh_clean install: build @@ -36,13 +20,10 @@ install: build dh_testroot dh_clean -k dh_installdirs - - # Add here commands to install the package into debian/build-package. $(MAKE) check $(MAKE) install DESTDIR=$(CURDIR)/debian/pbuilder dh_movefiles -ppbuilder-uml --sourcedir=debian/pbuilder -# Build architecture-independent files here. binary-indep: build install dh_testdir -i dh_testroot -i @@ -58,7 +39,6 @@ binary-indep: build install dh_md5sums -i dh_builddeb -i -# Build architecture-dependent files here. binary-arch: build install ifneq (,$(findstring ${ARCH},i386 amd64)) dh_testdir -a @@ -75,6 +55,5 @@ ifneq (,$(findstring ${ARCH},i386 amd64)) dh_builddeb -a endif - binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +.PHONY: build clean binary-indep binary-arch binary install |