diff options
author | Roland Reichwein <mail@reichwein.it> | 2022-11-26 12:59:28 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2022-11-26 12:59:28 +0100 |
commit | 7619dc0bef58d00c816b6628e457a85845b9edee (patch) | |
tree | f572b4dd639e0b4b4c0215e1cb1facb299ca0523 /Makefile | |
parent | f116c9146e53d885840ed957204d60d81fd858bd (diff) |
Cleanup via cron/systemd
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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) |