summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..adaf681
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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)