File: rules

package info (click to toggle)
wimsapi 0.5.11-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 564 kB
  • sloc: python: 3,096; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export PYBUILD_NAME=wimsapi

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf *.egg-info/
	cd docs; rm -f *.html

override_dh_auto_test:
	echo "Don't run tests, they require Wims to run on port 7777."

override_dh_auto_build:
	dh_auto_build
	cd docs; \
	for f in *.md; do \
	  g=$$(echo $$f|sed 's/md$$/html/'); \
	  pandoc -o $$g $$f; \
	done