Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_LDFLAGS_MAINT_APPEND=-Wl,-O1 -Wl,-z,defs
4 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
5
6 ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
7 export DEB_CPPFLAGS_MAINT_APPEND=-DUBUNTU
8 else
9 export DEB_CPPFLAGS_MAINT_APPEND=-DDEBIAN
10 endif
11
12 override_dh_auto_configure:
13 dh_auto_configure -- --enable-gtk-doc --enable-introspection=yes --enable-vala=yes
14
15 execute_after_dh_auto_install:
16 find debian/tmp -name '*.la' -delete
17
18 override_dh_installchangelogs:
19 DEB_BUILD_MAINT_OPTIONS=notrimdch dh_installchangelogs NEWS
20
21 %:
22 dh $@ --with gir