File: rules

package info (click to toggle)
dh-python 6.20251204.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,564 kB
  • sloc: python: 5,237; makefile: 578; perl: 249; sh: 36
file content (19 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/make -f

%:
	dh $@

clean:
	make clean
	dh_clean

override_dh_auto_test:
	make tests

override_dh_auto_install:
	DESTDIR=debian/dh-python PREFIX=/usr make install
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	DESTDIR=debian/dh-python PREFIX=/usr make manpages
endif
	# generate maintainer scripts, etc.
	./dh_python3