File: rules

package info (click to toggle)
snaphu 2.0.7-2
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 1,168 kB
  • sloc: ansic: 14,350; makefile: 53
file content (27 lines) | stat: -rwxr-xr-x 571 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
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --sourcedirectory=src

execute_after_dh_auto_clean:
	$(MAKE) -C src clobber
	rm -rf bin/*

execute_before_dh_auto_build:
	mkdir -p bin

override_dh_auto_install:
	dh_auto_install -- \
		INSTALLDIR=../debian/snaphu/usr/bin/ \
		MANDIR=../debian/snaphu/usr/share/man

override_dh_installchangelogs:
	dh_installchangelogs -k README_releasenotes.txt