File: rules

package info (click to toggle)
tfortune 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 248 kB
  • sloc: ansic: 2,477; makefile: 227; yacc: 85; sh: 25
file content (18 lines) | stat: -rwxr-xr-x 547 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk
DPKG_EXPORT_BUILDTOOLS=1
include /usr/share/dpkg/buildtools.mk

%:
	dh "$@"

# plain dh_auto_configure uses options which configure does not understand
override_dh_auto_configure:
	./configure --prefix=/usr --bindir=/usr/games \
		--datadir=/usr/share/games --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
# needed because dh_autoreconf overwrites our configure wrapper
override_dh_autoreconf:
	$(MAKE) config.h.in configure.sh