aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: aa718bb994e184a8cfd231e90af2f6b20f664907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export PERL_HASH_SEED = 0

TEXI2HTML = texi2html --init-file debian/texi2html.rc --split chapter --verbose

%:
	dh $@

override_dh_auto_clean:
	rm -f *.html
	rm -f slib*.info
	dh_clean

override_dh_auto_build:
	# Run the "default target", whatever it be
	$(MAKE)
	# Then run target "html"
	$(MAKE) TEXI2HTML="$(TEXI2HTML)" html

override_dh_auto_install:
	install -m 755 slib.sh debian/slib/usr/bin/slib