File: rules

package info (click to toggle)
ufoai-maps 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 503,916 kB
  • ctags: 103
  • sloc: makefile: 192; perl: 87; python: 68
file content (18 lines) | stat: -rwxr-xr-x 396 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 $@ --parallel

override_dh_auto_build:
	$(MAKE) maps -j2
	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 $(CURDIR) -type f -name '*.bsp' -name '*.pk3' -delete

override_dh_builddeb:
	dh_builddeb -- -Zgzip -z1