File: rules

package info (click to toggle)
ufoai-maps 2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 503,912 kB
  • sloc: makefile: 192; perl: 87; python: 68
file content (18 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- maps -j4
	cd $(CURDIR)/base \
	&& zip -r 0textures.pk3 . -i textures/\*.jpg textures/\*.tga textures/\*.png \
	&& zip -r 0maps.pk3 . -i maps/\*.bsp maps/\*.ump

override_dh_clean:
	dh_clean
	find . \( -name '*.bsp' -o -name '*.pk3' \) -delete

override_dh_builddeb:
	dh_builddeb -- -Zgzip -z1