File: rules

package info (click to toggle)
antigrav 0.0.3-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,732 kB
  • sloc: cpp: 7,409; xml: 5,603; sh: 3,366; python: 150; makefile: 43
file content (19 lines) | stat: -rwxr-xr-x 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	./configure --prefix=/usr \
	--bindir=\$${prefix}/games \
	--mandir=\$${prefix}/share/man \
	--infodir=\$${prefix}/share/info \
	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs"

override_dh_install:
	cp data/planet.png debian/antigrav.png
	dh_install

override_dh_clean:
	dh_clean
	$(RM) debian/antigrav.png
	$(RM) src/tinyxml/Makefile