File: rules

package info (click to toggle)
wordplay 8.0-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 800 kB
  • sloc: ansic: 3,042; makefile: 13
file content (15 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

ifneq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
        export DH_VERBOSE=1
        export DH_OPTIONS=-v
endif

CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh  $@