diff --git a/debian/rules b/debian/rules index 7c6d19cc..bd44d048 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script @@ -23,7 +23,7 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - ./autogen.sh + ./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,7 +39,8 @@ build-stamp: config.status clean: dh_testdir dh_testroot - rm -f build-stamp config.sub config.guess + rm -f build-stamp configure aclocal.m4 + find $(CURDIR) -type f -name Makefile.in -exec rm {} \; # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean @@ -80,4 +81,4 @@ binary-arch: build install dh_builddeb binary: binary-indep binary-arch -.PHONY: build binary-indep binary-arch binary install +.PHONY: build binary-indep binary-arch binary install