File: rules

package info (click to toggle)
lecm 0.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 212 kB
  • sloc: python: 604; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=lecm

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

override_dh_installman:
	pandoc -s -t man $(CURDIR)/man/lecm.md -o $(CURDIR)/debian/lecm.1
	dh_installman

override_dh_auto_clean:
	dh_auto_clean
	[ ! -d lecm.egg-info ] || rm -r lecm.egg-info
	[ ! -f debian/lecm.1 ] || rm debian/lecm.1