rules 523 Bytes
Newer Older
1 2 3 4 5
#!/usr/bin/make -f

#export DH_VERBOSE=1

%:
6
	dh $@ --with python2
7

8 9 10 11 12 13 14 15 16 17
%.1: %.1.markdown
	pandoc --read=markdown --write=man --output=$@ --standalone $<

override_dh_auto_build: tails-installer.1
	python setup.py build

override_dh_auto_clean:
	dh_auto_clean
	rm -f tails-installer.1

18
override_dh_install:
Ulrike Uhlig's avatar
Ulrike Uhlig committed
19
	python setup.py install --root=debian/tails-installer/ --install-layout=deb
20
	dh_install
21 22
	mkdir -p debian/tails-installer/etc/tails-installer
	touch debian/tails-installer/etc/tails-installer/deprecated-outside-of-Tails