summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 640a081..a387f1c 100755
--- a/Makefile
+++ b/Makefile
@@ -67,14 +67,22 @@ all: build
install:
mkdir -p $(DESTDIR)/usr/lib/whiteboard
cp whiteboard.fcgi $(DESTDIR)/usr/lib/whiteboard/
-
+
mkdir -p $(DESTDIR)/usr/lib/whiteboard/html
cp -r html/* $(DESTDIR)/usr/lib/whiteboard/html/
-
+
uglifyjs html/whiteboard.js -m -c > $(DESTDIR)/usr/lib/whiteboard/html/whiteboard.js
htmlmin html/index.html $(DESTDIR)/usr/lib/whiteboard/html/index.html
cleancss -o $(DESTDIR)/usr/lib/whiteboard/html/whiteboard.css html/whiteboard.css
-
+
+ mkdir -p $(DESTDIR)/etc
+ cp whiteboard.conf $(DESTDIR)/etc
+
+ mkdir -p $(DESTDIR)/usr/bin
+ cp whiteboard-cleanup $(DESTDIR)/usr/bin/
+
+ mkdir -p $(DESTDIR)/etc/cron.d
+ cp whiteboard.cron $(DESTDIR)/etc/cron.d/whiteboard
whiteboard.fcgi: $(OBJECTS)