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,-z,defs -Wl,-O1
5 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
6
7 include /usr/share/dpkg/default.mk
8
9 %:
10 dh $@
11
12 ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS)))
13 CONFFLAGS = -Dtests=enabled
14 else
15 CONFFLAGS = -Dtests=disabled
16 endif
17
18 override_dh_auto_configure:
19 dh_auto_configure -- \
20 -Dgtk_doc=true \
21 -Dintrospection=enabled \
22 $(CONFFLAGS)
23
24 override_dh_gencontrol:
25 # Ubuntu has an epoch on gudev
26 if dpkg-vendor --is ubuntu; then \
27 dh_gencontrol -- "-v1:$(DEB_VERSION)"; \
28 else \
29 dh_gencontrol; \
30 fi
31
32 override_dh_gnome_clean: