summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 83bfb7145f672a6979836dfa32d11128decc8fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

DESTDIR	?=
IPXEDIR	:= $(DESTDIR)/usr/share/ipxe

default:
	@echo "targets: test clean install"

test:
	sh test-ipxe.sh

clean:
	rm -f *~ */*~

install:
	install -d $(IPXEDIR)/tests/{domain,network,scripts}
	install -m 644 domain/*.xml $(IPXEDIR)/tests/domain
	install -m 644 network/*.xml $(IPXEDIR)/tests/network
	install -m 644 scripts/*.ipxe $(IPXEDIR)/tests/scripts
	install -m 755 *.sh *.py $(IPXEDIR)/tests