File: rules

package info (click to toggle)
yapps2 2.2.1-3.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 356 kB
  • sloc: python: 1,016; sh: 24; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export PYBUILD_NAME=yapps

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	cd doc && hevea yapps2.tex
	cd doc && hevea yapps2.tex # twice because of TOC

override_dh_install:
	mkdir -p debian/yapps2/usr/bin
	mv debian/python3-yapps/usr/bin/yapps2 debian/yapps2/usr/bin
	dh_install

override_dh_auto_test:
	sh -x test.sh