5,8 → 5,8 |
|
# Uncomment this to turn on verbose mode. |
#export DH_VERBOSE=1 |
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) |
33,14 → 33,8 |
#major=`ls src/.libs/lib*.so.* | \ |
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` |
|
config.status: configure |
config.status: patch configure |
dh_testdir |
ifneq "$(wildcard /usr/share/misc/config.sub)" "" |
cp -f /usr/share/misc/config.sub config.sub |
endif |
ifneq "$(wildcard /usr/share/misc/config.guess)" "" |
cp -f /usr/share/misc/config.guess config.guess |
endif |
# Add here commands to configure the package. |
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ |
--build=$(DEB_BUILD_GNU_TYPE) \ |
60,7 → 54,8 |
|
touch build-stamp |
|
clean: |
clean: clean-patched unpatch |
clean-patched: |
dh_testdir |
dh_testroot |
rm -f build-stamp |
67,14 → 62,6 |
|
# Add here commands to clean up after the build process. |
-$(MAKE) distclean |
ifneq "$(wildcard /usr/share/misc/config.sub)" "" |
rm -f config.sub |
endif |
ifneq "$(wildcard /usr/share/misc/config.guess)" "" |
rm -f config.guess |
endif |
-rm machine.m4 |
-rm -r .lib |
|
dh_clean |
|