1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
%:
dh $@
execute_before_dh_install:
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
docbook2pdf -o data data/shared-mime-info-spec.xml
docbook2html -o data/shared-mime-info-spec.html data/shared-mime-info-spec.xml
endif
override_dh_compress:
dh_compress -X.pdf
execute_after_dh_clean:
rm -rf data/shared-mime-info-spec.html data/shared-mime-info-spec.pdf
|