File: rules

package info (click to toggle)
cavezofphear 0.5.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 300 kB
  • sloc: ansic: 1,362; makefile: 40; sh: 21
file content (15 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)

export CFLAGS
export LDFLAGS

override_dh_auto_install:
	make install DESTDIR_BIN=debian/tmp/usr/games DESTDIR_DATA=debian/tmp/usr/share

%:
	dh $@