File: rules

package info (click to toggle)
lmemory 0.6c-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,176 kB
  • sloc: sh: 4,797; ansic: 1,273; makefile: 49
file content (16 lines) | stat: -rwxr-xr-x 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	autoreconf --force --install --symlink
	./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games/lmemory

JUNK = configure config.h.in ltmain.sh mkinstalldirs config.guess config.sub aclocal.m4 depcomp install-sh Makefile.in missing INSTALL COPYING

override_dh_auto_clean:
	test ! -e Makefile || test -e config.status || (autoreconf -fis && ./configure)
	test ! -e Makefile || make maintainer-clean
	rm -rf $(JUNK)
	dh_auto_clean