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

TARGETS = \
	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)