diff options
-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 |