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 37 38 39 40
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS = 1
export DEB_CFLAGS_MAINT_APPEND = -Wno-incompatible-pointer-types
include /usr/share/dpkg/default.mk
include /usr/share/dpkg/buildflags.mk
%:
dh $@ --no-parallel
override_dh_auto_clean:
make veryclean
override_dh_auto_install:
dh_auto_install
rm -rf $(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/app/ \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/other/ \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/encodings/russian/ \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/encodings/bulgarian/ \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/encodings/README.html \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/scripts/html2man \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/scripts/inst_* \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/scripts/mk_rel \
$(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/scripts/unhtml
find $(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/ -type f -maxdepth 1 -mindepth 1 -delete
override_dh_installdocs:
dh_installdocs
mv $(CURDIR)/debian/ttf2ufm/usr/share/ttf2ufm/scripts/convert.cfg.sample \
$(CURDIR)/debian/ttf2ufm/usr/share/doc/ttf2ufm/
chmod 640 $(CURDIR)/debian/ttf2ufm/usr/share/doc/ttf2ufm/convert.cfg.sample
override_dh_installchangelogs:
dh_installchangelogs CHANGES
|