File: rules

package info (click to toggle)
gladtex 3.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 444 kB
  • sloc: python: 4,820; makefile: 11; sh: 7
file content (17 lines) | stat: -rwxr-xr-x 406 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#vim: set noexpandtab sts=4 ts=4 sw=4 tw=80:
export PYBUILD_DESTDIR_python3=debian/tmp

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

override_dh_auto_build:
	mkdir -p build
	pandoc -s -f markdown -t man manpage.md > build/gladtex.1
	dh_auto_build

override_dh_auto_clean:
	rm -rf GladTeX.egg-info
	# not sure why this is not done by auto_clean
	rm -rf gleetex/.pybuild
	dh_auto_clean