File: rules

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

export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/buildtools.mk

%:
	dh $@

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

override_dh_auto_build:
	dh_auto_build -- 'CC=$(CC)'

override_dh_auto_clean:
	touch config.mk
	dh_auto_clean

override_dh_auto_install:
	dh_auto_install
	dh_installsystemd
	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