summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 8cb1084ad8a0ab5338f05ea9b20ce8f112ef1efd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
%:
	dh $@ --with=systemd

override_dh_auto_configure:

override_dh_auto_build:

override_dh_auto_install:
	install -d $$(pwd)/debian/tmp/usr/sbin/
	install -m 755 $$(pwd)/saswall $$(pwd)/debian/tmp/usr/sbin/saswall
	install -d $$(pwd)/debian/tmp/etc/saswall/
	install -m 644 $$(pwd)/debian/placeholder $$(pwd)/debian/tmp/etc/saswall/.placeholder
	install -d $$(pwd)/debian/tmp/etc/init.d/
	install -m 755 $$(pwd)/initscript $$(pwd)/debian/tmp/etc/init.d/saswall
	install -d $$(pwd)/debian/tmp/lib/systemd/system
	install -m 644 $$(pwd)/systemd.service $$(pwd)/debian/tmp/lib/systemd/system/saswall.service

override_dh_installexamples:
	dh_installexamples $$(pwd)/rules.sh

override_dh_installinit:
	dh_installinit --onlyscripts