1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with autoreconf
override_dh_auto_configure:
dh_auto_configure -- --enable-shared=link --with-threads --with-tclconfig=/usr/lib --with-tcl=/usr/include/tcl
override_dh_auto_build:
dh_auto_build -- All tclxpa
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
override_dh_auto_test:
debian/tests/xpa_test_build
endif
override_dh_installchangelogs:
dh_installchangelogs doc/changelog.html
for pkg in tcl-xpa libxpa1 xpa-tools ; do \
rm -f debian/$$pkg/usr/share/doc/$$pkg/changelog.html; \
done
override_dh_compress:
dh_compress -Xchangelog.html
override_dh_makeshlibs:
dh_makeshlibs -Xlibtclxpa.so
override_dh_missing:
dh_missing --list-missing
|