File: Makefile

package info (click to toggle)
quake2-data 9
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 112 kB
  • ctags: 19
  • sloc: sh: 421; exp: 106; makefile: 55
file content (33 lines) | stat: -rw-r--r-- 628 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
25
26
27
28
29
30
31
32
33
# $Id$
# Test harness for quake2-data

DEBIAN := ../debian
VERSION := $(shell cat $(DEBIAN)/changelog | head -1 | sed 's/^.*\(\(.\)\).*$$/\1/')
PACKAGE := quake2-data_${VERSION}_all.deb
STORAGE := /home/jaq/bucket
SHAREFILE := q2-314-demo-x86.exe
POINTFILE := q2-3.20-x86-full-ctf.exe

TESTS = bug-128254 bug-128353 bug-128402 bug-131315 bug-131707

all: check

check:
	for i in $(TESTS) ; do \
		./$$i ; \
	done

mnt:
	mkdir mnt

mnt/$(SHAREFILE): mnt
	cp $(STORAGE)/$(SHAREFILE) mnt

mnt/$(POINTFILE): mnt
	cp $(STORAGE)/$(POINTFILE) mnt

mnt/$(PACKAGE): mnt
	cp ../../$(PACKAGE) mnt

clean:
	rm -f cow_fs *.log *.diff diff.*