File: rules

package info (click to toggle)
pymacs 0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 756 kB
  • sloc: python: 3,542; lisp: 740; makefile: 80; sh: 34
file content (40 lines) | stat: -rwxr-xr-x 624 bytes parent folder | download
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
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/make -f

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

export PYBUILD_NAME=pymacs

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

override_dh_auto_configure:
	python pppp -C ppppconfig.py \
		pymacs.el.in \
		pymacs.rst.in \
		Pymacs.py.in \
		contrib \
		tests

	dh_auto_configure

override_dh_install:
	rst2html pymacs.rst pymacs.html
	dh_install -X.in

override_dh_missing:
	dh_missing --list-missing

override_dh_installdocs:
	dh_installdocs -X.in

override_dh_clean:
	make clean
	rm -f pymacs.html
	dh_clean

override_dh_compress:
	dh_compress -X.py -X.el

# TODO
# override_dh_auto_test: