Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
7 NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
8 endif
9
10 CONFIGURE_FLAGS += --disable-werror --docdir=/usr/share/doc/libcdr-doc --without-docs
11
12 # see https://cgit.freedesktop.org/libreoffice/core/commit/?id=fabad007c60958f2ff87e8f636ff6a798ad1f963
13 ifeq "$(shell dpkg --compare-versions `pkg-config --modversion icu-i18n` ge 59 && echo true)" "true"
14 export DEB_CXXFLAGS_MAINT_APPEND := -DUCHAR_TYPE=uint16_t
15 endif
16 export DPKG_EXPORT_BUILDFLAGS=y
17 include /usr/share/dpkg/buildflags.mk
18
19 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
20
21 %:
22 dh $@
23
24 override_dh_auto_configure:
25
26 override_dh_auto_build-arch:
27 dh_auto_configure -- $(CONFIGURE_FLAGS)
28 $(MAKE) $(NJOBS)
29
30 override_dh_auto_build-indep:
31 dh_auto_configure -- $(filter-out --without-docs,$(CONFIGURE_FLAGS))
32 $(MAKE) $(NJOBS)
33