| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs |
| 5 |
|
| 6 |
export PROG_UNZIP = bunzip2 |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_configure: |
| 12 |
dh_auto_configure -- \ |
| 13 |
-Ddocs=$(if $(filter nodoc,$(DEB_BUILD_PROFILES)),false,true) \ |
| 14 |
-Dgir=true \ |
| 15 |
-Dvapi=true \ |
| 16 |
-Ducd_path=/usr/share/unicode/ |
| 17 |
|
| 18 |
execute_after_dh_auto_install: |
| 19 |
ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) |
| 20 |
|
| 21 |
|
| 22 |
install -d debian/tmp/usr/share/gtk-doc |
| 23 |
install -d debian/tmp/usr/share/help |
| 24 |
endif |