Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 include /usr/share/dpkg/pkg-info.mk
5
6 # pybuild helpfully overrides debian/tmp with debian/PACKAGE if PYBUILD_NAME is
7 # set. We do not want that; we just need to build two separate packages and let
8 # dh_install take care of the install locations.
9 export PYBUILD_DESTDIR = debian/tmp_i_mean_it
10
11 export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
12
13 %:
14 dh $@ --buildsystem=pybuild
15
16 override_dh_auto_test:
17
18 override_dh_auto_clean \
19 override_dh_auto_configure \
20 override_dh_auto_build \
21 override_dh_auto_install: override_%:
22 PYBUILD_NAME=rstcheck-core $* --buildsystem=pybuild --sourcedirectory=core
23 PYBUILD_NAME=rstcheck $* --buildsystem=pybuild --sourcedirectory=.
24
25 override_dh_install:
26 dh_install --sourcedir=debian/tmp_i_mean_it
27
28 execute_before_dh_installman: debian/rstcheck.1
29 true
30
31 %.1: %.1.in
32 sed -e 's/@VERSION@/$(DEB_VERSION_UPSTREAM)/g' $< > $@