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
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=-format
export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
dh_targets=binary binary-arch binary-indep build build-arch build-indep clean install
$(dh_targets) %:
dh $@ --with autoreconf --parallel
.PHONY: $(dh_targets)
override_dh_install:
dh_install
@echo prevent library files in libiv1 from being duplicated in libiv-unidraw1
find debian/libiv1/usr/lib -type f -o -type l \
| sed s:^debian/libiv1/:debian/libiv-unidraw1/: \
| xargs --no-run-if-empty rm --verbose
override_dh_installexamples: debian/glyphs.tar
dh_installexamples
debian/glyphs.tar:
tar --create --file=$@ \
--exclude-backups --exclude='*.bak' \
--exclude=Makefile.depend --exclude='*.o' --exclude=a.out \
--directory=src glyphs
|