File: rules

package info (click to toggle)
pimd 2.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,416 kB
  • ctags: 3,858
  • sloc: ansic: 17,991; sh: 318; makefile: 152
file content (30 lines) | stat: -rwxr-xr-x 750 bytes parent folder | download
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
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with systemd


override_dh_auto_configure:
	./configure --prefix=/usr --sysconfdir=/etc

override_dh_auto_clean:
	touch config.mk
	dh_auto_clean

override_dh_auto_install:
	dh_auto_install
	rm $(CURDIR)/debian/pimd/usr/share/doc/pimd/LICENSE
	rm $(CURDIR)/debian/pimd/usr/share/doc/pimd/LICENSE.mrouted
	rm $(CURDIR)/debian/pimd/usr/share/doc/pimd/INSTALL.md
	mv $(CURDIR)/debian/pimd/usr/share/doc/pimd/ChangeLog.org \
		$(CURDIR)/debian/pimd/usr/share/doc/pimd/changelog

override_dh_auto_test:

.PHONY: override_dh_auto_clean override_dh_auto_configure \
	override_dh_auto_install override_dh_auto_test