summaryrefslogtreecommitdiffhomepage
path: root/debian/rules
blob: a854715e55527139ebcad56dd725be2a09b294e6 (plain)
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
#!/usr/bin/make -f
# -*- makefile -*-

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

# This has to be exported to make some magic below work.
export DH_OPTIONS


%:
	dh $@ --with python2

override_dh_installman:
	cd doc; \
	make man; \
	cp build/man/* ../debian/
	dh_installman

override_dh_auto_build:
	dh_auto_build
	mkdir -p debian/html
	cd doc; \
	make html; \
	cp -r build/html/* ../debian/html/

override_dh_installinit:
	dh_installinit --no-start --name=ryu

override_dh_installlogrotate:
	dh_installlogrotate --name=ryu

override_dh_auto_clean:
	rm -rf html
	dh_auto_clean