File: rules

package info (click to toggle)
switchsh 0~20070801-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: ansic: 526; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 432 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
#!/usr/bin/make -f

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

CFLAGS += -pedantic -Werror -Wextra -Wformat -Wformat-security

override_dh_auto_build:
	$(MAKE) switchsh
	chmod 4755 switchsh

override_dh_auto_clean:
	rm -f switchsh

override_dh_fixperms:
	dh_fixperms -Xusr/bin/switchsh

%:
	dh $@