File: rules

package info (click to toggle)
lmemory 0.6c-13.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,192 kB
  • sloc: sh: 4,797; ansic: 1,830; makefile: 37
file content (20 lines) | stat: -rwxr-xr-x 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND = -fcommon -std=gnu17

JUNK = configure config.h.in ltmain.sh mkinstalldirs config.guess config.sub aclocal.m4 depcomp install-sh Makefile.in missing INSTALL COPYING config.status libtool lmemory Makefile config.h config.log stamp-h1


%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--bindir=/usr/games \
		--datadir=/usr/share/games/lmemory

override_dh_auto_clean:
	$(RM) -r $(JUNK)
	$(RM) *.o