diff --git a/debian/rules b/debian/rules index 348a54ac..2e551c96 100755 --- a/debian/rules +++ b/debian/rules @@ -14,7 +14,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -config.status: autogen.sh +config.status: dh_testdir # Add here commands to configure the package. ifneq "$(wildcard /usr/share/misc/config.sub)" "" @@ -23,7 +23,6 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - ./autogen.sh ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-z,defs" @@ -39,11 +38,10 @@ build-stamp: config.status clean: dh_testdir dh_testroot - rm -f build-stamp configure aclocal.m4 - find $(CURDIR) -type f -name Makefile.in -exec rm {} \; + rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean - rm -rf depcomp compile config.guess config.sub ltmain.sh missing install-sh config.h.in + rm -rf config.log dh_clean install: build @@ -68,7 +66,7 @@ binary-arch: build install dh_installdocs dh_install --sourcedir=debian/tmp dh_installman - dh_installchangelogs NEWS + dh_installchangelogs ChangeLog dh_link dh_strip dh_compress