File: rules

package info (click to toggle)
gmrun 0.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 736 kB
  • ctags: 682
  • sloc: cpp: 1,922; sh: 439; makefile: 39; ansic: 9
file content (14 lines) | stat: -rwxr-xr-x 456 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

# passing --datadir explicitly to configure is required, because
#   AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}")
# otherwise sets PACKAGE_DATA_DIR to "${datarootdir}/gmrun" which is (without
# further expansion) used as part of the path
override_dh_auto_configure:
	dh_auto_configure -- --datadir=/usr/share