File: rules

package info (click to toggle)
gitinspector 0.4.4%2Bdfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,032 kB
  • sloc: python: 1,881; cpp: 34; makefile: 14; sh: 6
file content (30 lines) | stat: -rwxr-xr-x 646 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
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1


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


override_dh_auto_build:
	dh_auto_build
	
	cd docs && a2x --xsltproc-opts=--nonet -f manpage gitinspector.txt
	cd docs && a2x --xsltproc-opts=--nonet -f xhtml gitinspector.txt


override_dh_auto_install:
	dh_auto_install
	# We don't need to install a copy of the GPL-3, we have it locally
	rm -f $(CURDIR)/debian/gitinspector/usr/share/doc/gitinspector/LICENSE.txt


override_dh_auto_clean:
	dh_auto_clean
	
	rm -f docs/gitinspector.xml
	rm -f docs/gitinspector.1
	rm -f docs/gitinspector.html