File: rules

package info (click to toggle)
groundhog 1.4-11
  • links: PTS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,600 kB
  • sloc: ansic: 5,090; sh: 2,962; cpp: 1,750; yacc: 316; makefile: 308; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 712 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# Generated by dh_make, customized by Stephen Moraco
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --bindir=\$${prefix}/games

override_dh_autoreconf:
	# backup mkinstalldirs
	if [ -f $(CURDIR)/mkinstalldirs ]; then if [ ! -f $(CURDIR)/mkinstalldirs.debbackup ]; then cp -f $(CURDIR)/mkinstalldirs $(CURDIR)/mkinstalldirs.debbackup; fi; fi
	dh_autoreconf

override_dh_autoreconf_clean:
	dh_autoreconf_clean
	# restore mkinstalldirs
	if [ -f $(CURDIR)/mkinstalldirs.debbackup ]; then mv -f $(CURDIR)/mkinstalldirs.debbackup $(CURDIR)/mkinstalldirs; fi