Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # export DH_VERBOSE=1
4
5 # DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
6 # DPKG_EXPORT_BUILDFLAGS = 1
7 # include /usr/share/dpkg/buildflags.mk
8
9 UPSTREAM_GITscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/UPSTREAM_GIT. := https://github.com/apache/qpid-proton
10 include /usr/share/openstack-pkg-tools/pkgos.make
11
12 export DEB_CXXFLAGS_MAINT_APPENDscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/DEB_CXXFLAGS_MAINT_APPEND. = -Wno-error=unused-but-set-variable
13
14 # This has to be exported to make some magic below work.
15 export DH_OPTIONSscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/DH_OPTIONS.
16 export DH_ALWAYS_EXCLUDEscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/DH_ALWAYS_EXCLUDE.=LICENSE
17 export PYBUILD_SYSTEMscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/PYBUILD_SYSTEM.=cmake
18 export PYBUILD_CONFIGURE_ARGSscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/PYBUILD_CONFIGURE_ARGS.=-DPROTON_DISABLE_RPATH=true -DNOBUILD_RUBY=on \
19 -DSYSINSTALL_BINDINGS=on -DCHECK_SYSINSTALL_PYTHON=false \
20 -DPYTHON_SITEARCH_PACKAGES=/usr/lib/python{version}/dist-packages \
21 -DLIB_INSTALL_DIR=/usr/lib/${DEB_HOST_MULTIARCHscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/DEB_HOST_MULTIARCH.}
22 export PYBUILD_BUILD_ARGSscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/PYBUILD_BUILD_ARGS.=all docs
23
24 %scip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/`%`().:
25 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
26
27 override_dh_auto_testscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/override_dh_auto_test().:
28 # TODO enable them when they work again
29
30 override_dh_sphinxdocscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/override_dh_sphinxdoc().:
31 ifeq (,$(findstringscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/findstring. nodoc, $(DEB_BUILD_OPTIONSscip-debian debian qpid-proton 0.37.0-9 qpid-proton/rules/DEB_BUILD_OPTIONS.)))
32 PYTHONPATH=. python3 -m sphinx -b html python/docs $(CURDIR)/debian/python-qpid-proton-doc/usr/share/doc/python-qpid-proton-doc/html
33 dh_sphinxdoc
34 endif