File: rules

package info (click to toggle)
gmrun 1.4w-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 400 kB
  • sloc: ansic: 2,611; sh: 1,388; makefile: 126
file content (16 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

%:
	dh $@
override_dh_auto_clean:
	-dh_auto_clean

# 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