File: rules

package info (click to toggle)
crashmail 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,408 kB
  • sloc: ansic: 18,671; sh: 401; makefile: 171
file content (33 lines) | stat: -rwxr-xr-x 626 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
31
32
33
#!/usr/bin/make -f
# debian/rules for crashmail

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

%:
	dh $@

override_dh_auto_clean:
	rm -rf bin
	$(MAKE) -C src cleanlinux

override_dh_auto_build:
	mkdir bin
	$(MAKE) -C src linux

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	$(MAKE) -C tests
endif

override_dh_auto_install:
	dh_auto_install --destdir=debian/crashmail

override_dh_installdocs:
	dh_installdocs --link-doc=crashmail

override_dh_strip:
	dh_strip --dbgsym-migration='crashmail-dbg (<< 1.6-1~)'

.PHONY: override_dh_strip