summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-08-25 23:24:12 +0200
committersijanec <sijanecantonluka@gmail.com>2020-08-25 23:24:12 +0200
commita814ef4e939fe42c49955d920201eb34ba8ca3d0 (patch)
treea05097472183bfe337ec5b1f7e3b6a6cff8dcd4a /Makefile
parentfixed help screens and notices for make generate != make install (diff)
downloadbeziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.gz
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.bz2
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.lz
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.xz
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.zst
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 911ebc9..611336b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
default:
@echo "*** BežiApp Makefile ***"
@echo "targets:"
- @echo " make prepare installs dependencies, cleans after itself, requires sudo permissions and debian/ubuntu for apt"
+ @echo " make prepare installs dependencies, uses \`sudo apt\`."
@echo " make generate installs BežiApp to dist/"
+ @echo "notes and hacks:"
+ @echo " \`cp /bin/cp bin/bvr-jsmin\` if you don't want jsmin (before generate)"
@echo "no target specified, exiting ..."
prepare:
@@ -29,4 +31,4 @@ generate:
-find assets/js/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\$${FILE/.bvr/}"; ./bin/bvr-compose-single \"assets/js/\$$FILE\" \"\$$FILE_DST\""
-find assets/js/ -name "*.js" -printf "%P\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\$${FILE/.bvr/}"; ./bin/bvr-jsmin assets/js/\"\$$FILE\" \"\$$FILE_DST\""
cp -r assets/root/.well-known dist/
-
+ chmod 0775 dist -R