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
5
6 # see https://bugzilla.gnome.org/show_bug.cgi?id=594473 for details
7 export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
8
9 EDS_VERSION = $(shell pkg-config --modversion evolution-data-server-1.2 | awk -F'.' '{print $$1 "." $$2}')
10 EDS_NEXTVERSION = $(shell pkg-config --modversion evolution-data-server-1.2 | awk -F'.' '{print $$1 "." $$2+1}')
11 EVO_VERSION = $(shell pkg-config --modversion evolution-shell-3.0 | awk -F'.' '{print $$1 "." $$2}')
12 EVO_NEXTVERSION = $(shell pkg-config --modversion evolution-shell-3.0 | awk -F'.' '{print $$1 "." $$2+1}')
13
14 %:
15 dh $@
16
17 override_dh_auto_configure:
18 dh_auto_configure -- \
19 -DSYSCONF_INSTALL_DIR=/etc
20
21 override_dh_makeshlibs:
22 dh_makeshlibs -n -X/usr/lib/evolution-data-server/
23
24 override_dh_gencontrol:
25 dh_gencontrol -- \
26 -Veds:Version=$(EDS_VERSION) -Veds:NextVersion=$(EDS_NEXTVERSION) \
27 -Vevo:Version=$(EVO_VERSION) -Vevo:NextVersion=$(EVO_NEXTVERSION)