Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_CFLAGS_MAINT_APPEND := -Wall
4 export DEB_CXXFLAGS_MAINT_APPEND := -Wall
5 export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,--as-needed
6 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
7 include /usr/share/dpkg/pkg-info.mk
8
9 # For the repack: package name, mangled upstream version, non-free files
10 UVERNODFSG = $(subst +dfsg,,$(DEB_VERSION_UPSTREAM))
11
12
13 override_dh_auto_configure:
14 dh_auto_configure --verbose -- \
15 -DSUPPORT_JAVA_PROGRAMS=OFF
16
17 override_dh_auto_install:
18 dh_auto_install --verbose
19 # Clear the rpath set on some architectures (e.g. amd64)
20 chrpath -d $(CURDIR)/debian/tmp/usr/bin/* \
21 $(CURDIR)/debian/tmp/usr/lib/*/*.so
22 rm -vf $(CURDIR)/debian/tmp/usr/lib/*/*.la
23
24 override_dh_makeshlibs:
25 dh_makeshlibs -- -c4
26
27 %:
28 dh $@