summaryrefslogtreecommitdiffstats
path: root/www/static/errors/Makefile
blob: 9da0127d92a3f896dd727c6356962d099f838355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)