install/$(ASSETS)::
cd $(SRCDIR); \
- find ./templates -name '*.tt2' \
- -exec install -pDm 644 {} $(ASSETS_DEST)/{} \;
- cd $(SRCDIR); \
- find ./css ! -name '*~' ! -type l \
- -exec install -pDm 644 {} $(ASSETS_DEST)/{} \;
- ln -sf ../external/bootstrap-3.3.7/less $(ASSETS_DEST)/css/bootstrap
- cd $(SRCDIR); \
- find ./public/img ! -name '*~' ! -type l \
- -exec install -pDm 644 {} $(ASSETS_DEST)/{} \;
- cd $(SRCDIR); \
- find ./public/jquery ! -name '*~' ! -type l \
- -exec install -pDm 644 {} $(ASSETS_DEST)/{} \;
- cd $(SRCDIR); \
- find ./public/js ! -name '*~' ! -type l \
- -exec install -pDm 644 {} $(ASSETS_DEST)/{} \;
- cd $(SRCDIR); \
- find ./public/vue ! -name '*~' ! -type l \
+ find ./{css,public,templates} ! -name '*~' \
-exec install -pDm 644 {} $(ASSETS_DEST)/{} \;
cd $(SRCDIR); \
find ./external/bootstrap-3.3.7 ! -name '*~' ! -type l \
-exec install -pDm 644 {} $(ASSETS_DEST)/{} \;
- ln -sf ../../external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/public/js/escape-html.js
- ln -sf ../external/bootstrap-3.3.7/dist $(ASSETS_DEST)/public/bootstrap
ln -sf ../external/bootstrap-3.3.7/fonts $(ASSETS_DEST)/public/fonts
install -pDm 644 $(SRCDIR)/external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/external/escape-html.js/js/escape-html.js
+ ln -sf ../../external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/public/js/escape-html.js
install -pDm 644 $(SRCDIR)/public/robots.txt $(ASSETS_DEST)/public/robots.txt
install -pDm 644 $(SRCDIR)/public/favicon.ico $(ASSETS_DEST)/public/
mkdir $(ASSETS_DEST)/public/css