File: rules

package info (click to toggle)
rstcheck 6.1.1%2B~1.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,236 kB
  • sloc: python: 5,929; makefile: 14; sh: 8; ansic: 4
file content (23 lines) | stat: -rwxr-xr-x 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_BEFORE_BUILD = rm -rf {build_dir}

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:

override_dh_auto_configure \
override_dh_auto_build \
override_dh_auto_install: override_%:
	$* --buildsystem=pybuild --sourcedirectory=core
	$* --buildsystem=pybuild --sourcedirectory=.

execute_before_dh_installman: debian/rstcheck.1
	true

%.1: %.1.in
	sed -e 's/@VERSION@/$(DEB_VERSION_UPSTREAM)/g' $< > $@