File: rules

package info (click to toggle)
stroq 0.2-7
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,164 kB
  • ctags: 223
  • sloc: cpp: 2,200; makefile: 17
file content (24 lines) | stat: -rwxr-xr-x 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

pre-build::
	lrelease-qt3 StroQ_fr.ts
	qmake -project
	qmake

clean::
	[ ! -f Makefile ] || $(MAKE) distclean
	rm -f Makefile
	rm -f stroq.pro
	rm -f StroQ_fr.qm

install/stroq::
	mkdir -p debian/stroq/usr/games
	cp $(shell basename $(shell pwd)) debian/stroq/usr/games/stroq

binary-install/stroq::
	dh_desktop -pstroq