| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
include /usr/share/dpkg/pkg-info.mk |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 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' $< > $@ |