Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONSscip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all
4 DPKG_EXPORT_BUILDFLAGSscip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/DPKG_EXPORT_BUILDFLAGS. = 1
5 include /usr/share/dpkg/buildflags.mk
6
7 include /usr/share/dpkg/pkg-info.mk
8
9 export PYBUILD_NAMEscip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/PYBUILD_NAME.=gmpy2
10
11 %scip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/`%`().:
12 dh $@ --buildsystem pybuild
13
14 execute_after_dh_auto_cleanscip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/execute_after_dh_auto_clean().:
15 # Remove files generated by the build.
16 rm -rf docs/_build
17 rm -rf test/__pycache__
18 rm -rf build
19 rm -rf gmpy2.egg-info
20
21 execute_after_dh_auto_buildscip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/execute_after_dh_auto_build().:
22 ifeq (,$(findstringscip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/findstring. nodoc, $(DEB_BUILD_OPTIONSscip-debian debian python-gmpy2 2.2.1-5 python-gmpy2/rules/DEB_BUILD_OPTIONS.)))
23 PYTHONPATH=$(shell pybuild --print {build_dir} --interpreter python3) make man html -C $(CURDIR)/docs SPHINXOPTS="-D today=\"$(SOURCE_DATE_EPOCH)\""
24 else
25 mkdir -p docs/_build/html
26 touch docs/_build/html/empty
27 endif