Make clean and distclean targets work.

Next step, finishing understanding why dbus module doesn't work :-)
This commit is contained in:
Ulises Vitulli
2009-01-02 22:52:17 +00:00
parent 63c6aaaa76
commit e39bdcca5f
+5 -4
View File
@@ -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