summaryrefslogtreecommitdiffstats
path: root/distribution/reservesys/Makefile
blob: 014b0d7d141b904a912a1e186c43d5cf6ea4adc4 (plain)
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
34
35
36
37
38
# Include global Makefile targets
include /usr/share/rhts/lib/rhts-make.include

# The toplevel namespace within which the test lives.
TOPLEVEL_NAMESPACE=/restraint

# The path of the test below the package:
RELATIVE_PATH=reservesys

export TESTVERSION=4.0

export TEST=$(TOPLEVEL_NAMESPACE)/$(RELATIVE_PATH)

METADATA=testinfo.desc

# built executables should be added here
BUILT_FILES=$(METADATA)

FILES=$(BUILT_FILES) \
	reservesys.sh   \
	recipe_status \
	metadata

clean:
	rm -rf ./mnt
	rm -f *~ $(BUILT_FILES)

# Generate the testinfo.desc here:
$(METADATA): Makefile
	@touch $(METADATA)
	@echo "Owner:           Bill Peck <bpeck@redhat.com>" > $(METADATA)
	@echo "Name:		$(TEST)"		>> $(METADATA)
	@echo "Path:		$(TEST_DIR)"		>> $(METADATA)
	@echo "TestVersion:	$(TESTVERSION)"		>> $(METADATA)
	@echo "Description:	Reserves system for specific time frame" >> $(METADATA)
	@echo "TestTime:	24h"			>> $(METADATA)
	@echo "Priority:	Manual"			>> $(METADATA)
	@echo "License:		GPLv2+"	                >> $(METADATA)