X-Git-Url: http://git.johnwright.org/?p=fmit.git;a=blobdiff_plain;f=debian%2Frules;h=4186fecbf8ac78798b483a586fbc282b7371fe66;hp=6cb5132f19783e2e65b1d8cc7bc0d34d800b8010;hb=bc031f89540af7d66efed7e224b91d504b20996b;hpb=c592ee7fd267b8d02abd163dca7f32b4eb0e13ca diff --git a/debian/rules b/debian/rules index 6cb5132..4186fec 100755 --- a/debian/rules +++ b/debian/rules @@ -9,9 +9,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -# include file for dpatch system -include /usr/share/dpatch/dpatch.make - # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) @@ -34,7 +31,7 @@ else CFLAGS += -O2 endif -config.status: patch configure +config.status: configure dh_testdir # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-Qt-dir=/usr/share/qt3 $(DEB_CONFIGURE_ALSA) CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" @@ -51,7 +48,7 @@ build-stamp: config.status touch $@ -clean: unpatch +clean: dh_testdir dh_testroot rm -f build-stamp @@ -121,4 +118,4 @@ binary-arch: build install dh_builddeb binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install patch unpatch +.PHONY: build clean binary-indep binary-arch binary install