Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #export DH_VERBOSE = 1
5
6 include /usr/share/dpkg/pkg-info.mk
7
8 PYTHON3_VERSIONS = $(shell py3versions -d)
9
10 BIN_NAME = cpplint
11 BIN_DESCRIPTION = "Static code checker for C++"
12
13 export PYBUILD_NAME=cpplint
14 export PYBUILD_AFTER_TEST=rm -f {dir}/.pybuild/*/build/.coverage
15 export PYBUILD_TEST_ARGS={dir}/*test.py
16
17 %:
18 dh $@ --buildsystem=pybuild
19
20 execute_before_dh_installman:
21 PYTHONPATH=debian/cpplint/usr/lib/$(PYTHON3_VERSIONS)/dist-packages \
22 help2man \
23 --name $(BIN_DESCRIPTION) \
24 --no-info \
25 --version-string $(DEB_VERSION_UPSTREAM) \
26 --output debian/$(BIN_NAME).1 \
27 --no-discard-stderr \
28 debian/cpplint/usr/bin/$(BIN_NAME)