summaryrefslogtreecommitdiffstats
path: root/www/static/errors/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/static/errors/Makefile')
-rw-r--r--www/static/errors/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/static/errors/Makefile b/www/static/errors/Makefile
new file mode 100644
index 0000000..9da0127
--- /dev/null
+++ b/www/static/errors/Makefile
@@ -0,0 +1,18 @@
+SERVERDIR = /errors
+FILES = $(wildcard *.html)
+
+_default:
+ @echo "nothing to make. try make install"
+
+clean:
+ rm -f *.o *.so *.pyc *~
+
+install:
+ @if [ "$(DESTDIR)" = "" ]; then \
+ echo " "; \
+ echo "ERROR: A destdir is required"; \
+ exit 1; \
+ fi
+
+ mkdir -p $(DESTDIR)/$(SERVERDIR)
+ install -p -m 644 $(FILES) $(DESTDIR)/$(SERVERDIR)