Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Uncomment this to turn on verbose mode.
4 # export DH_VERBOSE=1
5
6 # see FEATURE AREAS in dpkg-buildflags(1)
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
9
10 include /usr/share/dpkg/default.mk
11
12 # arm32 build; https://bugs.debian.org/1034553
13 export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}
14
15 PYVER=$(shell py3versions -vd)
16
17 %:
18 dh $@ --no-parallel
19
20 override_dh_auto_configure:
21 dh_auto_configure -- PYTHON_VERSION=$(PYVER) PYTHON=python3 CYTHON=/usr/bin/cython3
22
23 override_dh_auto_build:
24 dh_auto_build
25 doxygen doxygen.cfg
26
27 override_dh_install:
28 # Remove files we won't install
29 rm -f $(CURDIR)/debian/tmp/usr/lib/python*/*-packages/plist.a
30 rm -f $(CURDIR)/debian/tmp/usr/lib/python*/*-packages/plist.la
31 rm -f $(CURDIR)/debian/tmp/usr/lib/*/*.la
32 rm -f $(CURDIR)/debian/tmp/usr/lib/*/*.a
33 # Symlink old names for compatibility
34 #ln -s libplist++-2.0.pc debian/tmp/usr/lib/$(DEB_TARGET_MULTIARCH)/pkgconfig/libplist++.pc
35 #ln -s libplist-2.0.pc debian/tmp/usr/lib/$(DEB_TARGET_MULTIARCH)/pkgconfig/libplist.pc
36 # Continue with dh_install
37 dh_install
38
39 override_dh_missing:
40 dh_missing --fail-missing
41
42 override_dh_makeshlibs:
43 dh_makeshlibs -- -c4
44
45 override_dh_auto_clean:
46 dh_auto_clean
47 rm -rf docs/html
48 rm -f test/data/*.out
49
50 #override_dh_auto_test:
51 #Make the test suit fatal on supported arches (See README.Debian)
52 #ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-amd64))
53 # dh_auto_test
54 #else
55 # dh_auto_test || true
56 #endif