File: rules

package info (click to toggle)
buffer 1.19-12.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 548 kB
  • sloc: ansic: 9,288; makefile: 87; sh: 35
file content (17 lines) | stat: -rwxr-xr-x 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_CFLAGS_MAINT_APPEND = -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) -D_GNU_SOURCE -Dlint" LDFLAGS="$(LDFLAGS)"

override_dh_auto_install:
	dh_auto_install -- INSTBIN=debian/buffer/usr/bin INSTMAN=debian/buffer/usr/share/man/man1 S=1