File: rules

package info (click to toggle)
numptyphysics 0.2%2Bsvn157-0.3
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 2,596 kB
  • ctags: 2,896
  • sloc: cpp: 18,280; sh: 810; makefile: 205
file content (28 lines) | stat: -rwxr-xr-x 663 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
23
24
25
26
27
28
#!/usr/bin/make -f

#export DH_VERBOSE=1

# stuff from old build-system. Still needed? (costela 2009-12-30)
#ifneq (,$(findstring arm-linux,$(DEB_BUILD_GNU_TYPE)))
#	CPPFLAGS += -fomit-frame-pointer
#	CPPFLAGS += -ffast-math
#	CPPFLAGS += -mcpu=arm1136j-s -mfpu=vfp -mfloat-abi=softfp
#endif


%:
	dh $@ --with autoreconf

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

override_dh_auto_build:
	convert -monitor -resize 32x32 data/icon64/numptyphysics.png numptyphysics.xpm
	dh_auto_build

override_dh_install:
	dh_install
	dh_install numptyphysics.xpm usr/share/pixmaps

#override_dh_installchangelogs:
#	dh_installchangelogs NEWS