aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: b22665634577778a6ae1718896d9ad17f3b58999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
INSTALL ?= install
DESTDIR ?= html

TARGETS = \
	vm-source.html \
	index.html \
	index.css \
	COPYING \

.PHONY: help
help:
	@echo "Usage:"
	@echo -e "\tmake install DESTDIR=path/to/destdir"

$(DESTDIR):
	mkdir -p $(DESTDIR)

.PHONY: install
install: $(DESTDIR)
	$(INSTALL) -m644 $(TARGETS) -t $(DESTDIR)