diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-19 14:20:32 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-19 14:20:32 +0200 |
commit | 08b490783bcf2844709b4cb69a093fb8bb679bd3 (patch) | |
tree | a8730da4284ea02bd76bb545ee7a69395fd748dd | |
parent | 3578117687b2e076d2e354068f0a22bbcb750653 (diff) |
comments
-rw-r--r-- | Makefile | 6 | ||||
-rwxr-xr-x | configure | 5 |
2 files changed, 8 insertions, 3 deletions
@@ -67,11 +67,13 @@ i18n: yarn-install # generate .ts file containing all translations $(gulp) po2js +# Some commands are only available when ./configure has been run ifndef prefix -.PHONY: install -install: +.PHONY: warn-noprefix install +warn-noprefix: @echo "no prefix configured, did you run ./configure?" +install: warn-noprefix else .PHONY: install install: tsc @@ -57,7 +57,10 @@ while true; do esac done -echo "prefix=$prefix" >config.mk +cat << EOF > config.mk +# this file is autogenerated by ./configure +prefix=$prefix +EOF node_version=$(node --version) if [ ! "$?" -eq 0 ]; then |