diff options
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,9 +1,19 @@ +DESTDIR ?= +IPXEDIR := $(DESTDIR)/usr/share/ipxe + default: - @echo "targets: test clean" + @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 |