summaryrefslogtreecommitdiffstats
path: root/www/static/images/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/static/images/Makefile')
-rw-r--r--www/static/images/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/static/images/Makefile b/www/static/images/Makefile
new file mode 100644
index 0000000..fd7f2ca
--- /dev/null
+++ b/www/static/images/Makefile
@@ -0,0 +1,18 @@
+SERVERDIR = /images
+FILES = $(wildcard *.gif *.png *.ico)
+
+_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)