File: rules

package info (click to toggle)
mutatormath 3.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,820 kB
  • sloc: python: 2,581; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#export DH_VERBOSE = 1

MARKDOWN_DOCS=$(wildcard Docs/*.md)
HTML_DOCS=$(MARKDOWN_DOCS:.md=.html)

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

Docs/%.html: Docs/%.md
	pandoc -f markdown_github -t html -o $@ $^

override_dh_installdocs: $(HTML_DOCS)
	dh_installdocs

override_dh_compress:
	dh_compress -X.py