5,6 → 5,7 |
|
# 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) |
11,6 → 12,7 |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
|
|
CFLAGS = -Wall -g |
LDFLAGS = -Wl,--as-needed |
|
23,10 → 25,9 |
INSTALL_PROGRAM += -s |
endif |
|
config.status: configure |
config.status: ${DPATCH_STAMPFN} configure |
dh_testdir |
# Add here commands to configure the package. |
dh_autotools-dev_updateconfig |
./configure --host=$(DEB_HOST_GNU_TYPE) \ |
--build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
49,7 → 50,10 |
|
touch build-stamp |
|
clean: |
clean: clean-patched unpatch |
dh_clean |
|
clean-patched: |
dh_testdir |
dh_testroot |
rm -f build-stamp |
56,8 → 60,6 |
|
# Add here commands to clean up after the build process. |
[ ! -f Makefile ] || $(MAKE) distclean |
dh_autotools-dev_restoreconfig |
dh_clean |
|
install: build |
dh_testdir |