Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
5 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
6
7 %:
8 dh $@
9
10 override_dh_auto_configure:
11 dh_auto_configure -- \
12 --enable-debug \
13 --$(if $(filter %-doc,$(shell dh_listpackages)),en,dis)able-gtk-doc
14
15 execute_before_dh_install:
16 # rename gupnp-dlna-*-2.0 binaries to not have the -2.0 postfix
17 for program in debian/tmp/usr/bin/gupnp-dlna-*-2.0 ; do \
18 mv $$program $${program%%-2.0} ; \
19 done
20 find debian/tmp -name '*.la' -print -delete