This commit is contained in:
Florian Dold 2019-08-19 14:20:32 +02:00
parent 3578117687
commit 08b490783b
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 8 additions and 3 deletions

View File

@ -67,11 +67,13 @@ i18n: yarn-install
# generate .ts file containing all translations # generate .ts file containing all translations
$(gulp) po2js $(gulp) po2js
# Some commands are only available when ./configure has been run
ifndef prefix ifndef prefix
.PHONY: install .PHONY: warn-noprefix install
install: warn-noprefix:
@echo "no prefix configured, did you run ./configure?" @echo "no prefix configured, did you run ./configure?"
install: warn-noprefix
else else
.PHONY: install .PHONY: install
install: tsc install: tsc

5
configure vendored
View File

@ -57,7 +57,10 @@ while true; do
esac esac
done done
echo "prefix=$prefix" >config.mk cat << EOF > config.mk
# this file is autogenerated by ./configure
prefix=$prefix
EOF
node_version=$(node --version) node_version=$(node --version)
if [ ! "$?" -eq 0 ]; then if [ ! "$?" -eq 0 ]; then