| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
# export DH_VERBOSE=1 |
| 5 |
|
| 6 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
|
| 9 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 10 |
# package maintainers to append CFLAGS |
| 11 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 12 |
# package maintainers to append LDFLAGS |
| 13 |
export DEB_LDFLAGS_MAINT_APPEND = |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
execute_before_dh_autoreconf: |
| 19 |
gtkdocize --copy --docdir doc |
| 20 |
|
| 21 |
override_dh_auto_configure: |
| 22 |
dh_auto_configure -- --enable-gtk-doc |
| 23 |
|
| 24 |
override_dh_auto_build: |
| 25 |
dh_auto_build -- LIBS=-lX11 |
| 26 |
|
| 27 |
execute_before_dh_clean: |
| 28 |
$(RM) doc/html/* doc/libXsettings-client-decl-list.txt |
| 29 |
$(RM) doc/libXsettings-client-decl.txt doc/libXsettings-client-undocumented.txt |
| 30 |
$(RM) doc/tmpl/xsettings-common.sgml doc/xml/* doc/libXsettings-client-undeclared.txt |
| 31 |
$(RM) doc/tmpl/xsettings-client.sgml doc/tmpl/config.sgml |
| 32 |
|
| 33 |
execute_before_dh_install: |
| 34 |
install -d debian/tmp/usr/share/doc/libxsettings-client-doc/ |
| 35 |
ln -s -T /usr/share/gtk-doc/html/libXsettings-client/ debian/tmp/usr/share/doc/libxsettings-client-doc/html |