File: rules

package info (click to toggle)
arno-iptables-firewall 2.0.1.e-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,392 kB
  • ctags: 76
  • sloc: sh: 5,944; makefile: 18
file content (34 lines) | stat: -rwxr-xr-x 906 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
# -*- makefile -*-

# this name is just too long
AIF=arno-iptables-firewall

# one ring to rule them all ...
%:
	dh $@

override_dh_auto_configure:
override_dh_auto_build:

override_dh_auto_clean:
	debconf-updatepo
	rm -f $(CURDIR)/debian/init.d

override_dh_auto_install:
	# install rsyslog configuration
	cp $(CURDIR)/debian/rsyslog.d.conf \
			$(CURDIR)/debian/$(AIF)/etc/rsyslog.d/arno-iptables-firewall.conf
	# and corresponding logrotate configuration
	cp $(CURDIR)/debian/logrotate.d.conf \
			$(CURDIR)/debian/$(AIF)/etc/logrotate.d/arno-iptables-firewall.conf

override_dh_installchangelogs:
	dh_installchangelogs
	# fix up and remove duplicate plugin changelogs
	-rm $(CURDIR)/debian/$(AIF)/usr/share/$(AIF)/plugins/*.CHANGELOG

override_dh_installinit:
	# since one cannot know whether the firewall is
	# properly configured it must not be started
	dh_installinit --noscripts