File: rules

package info (click to toggle)
crashmail 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,384 kB
  • sloc: ansic: 18,654; sh: 406; makefile: 149
file content (28 lines) | stat: -rwxr-xr-x 514 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
#!/usr/bin/make -f
# debian/rules for crashmail

DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS=hardening=-format
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_install:
	dh_auto_install --destdir=debian/crashmail

override_dh_installdocs:
	dh_installdocs --link-doc=crashmail

override_dh_strip:
	dh_strip --dbg-package=crashmail-dbg

.PHONY: override_dh_strip