| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_BUILD_OPTIONS = parallel=$(shell nproc) |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
dh_auto_configure -- --enable-editing \ |
| 11 |
$(if $(filter nodoc,$(DEB_BUILD_PROFILES)),,--enable-doxygen-pdf --enable-doxygen-man --enable-doxygen-html) |
| 12 |
|
| 13 |
override_dh_auto_build-arch: |
| 14 |
dh_auto_build |
| 15 |
|
| 16 |
override_dh_auto_build-indep: |
| 17 |
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) |
| 18 |
dh_auto_build -- docs |
| 19 |
endif |
| 20 |
|
| 21 |
override_dh_compress: |
| 22 |
dh_compress --exclude=.pdf |