File: rules

package info (click to toggle)
sff 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184 kB
  • sloc: ansic: 2,160; sh: 621; makefile: 57
file content (14 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS) -std=c11" \
		LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS) -lncursesw"

override_dh_auto_install:
	$(MAKE) install DESTDIR="$(CURDIR)/debian/sff" PREFIX=/usr