summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-12-03 18:21:40 +0100
committerRoland Reichwein <mail@reichwein.it>2022-12-03 18:21:40 +0100
commit9dcb9d553941244da99ad6ceba281f430adb04c6 (patch)
tree5bc6ffdaf78e5de6de54db343ed992b58144d3b1 /Makefile
parent70131428edce8d7c6476a902d015b30b78e5f862 (diff)
whiteboard 1.2: Fixed build on Debian 11v1.2
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e0507bf..5a1b1d2 100755
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ install:
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
+ uglifyjs html/whiteboard.js -m -c > $(DESTDIR)/usr/lib/whiteboard/html/whiteboard.js || cp html/whiteboard.js $(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