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