diff options
author | jahoti <jahoti@tilde.team> | 2021-10-13 00:00:00 +0000 |
---|---|---|
committer | jahoti <jahoti@tilde.team> | 2021-10-13 00:00:00 +0000 |
commit | e0c94ac47a4ec4378f1341158d82a6af3ffe4c96 (patch) | |
tree | f7a431c84a88cf3a068506c12e0548f454e7718a /configure | |
parent | 4320edc924a303ce0cab0000a5f16f045a3822df (diff) | |
download | browser-extension-e0c94ac47a4ec4378f1341158d82a6af3ffe4c96.tar.gz browser-extension-e0c94ac47a4ec4378f1341158d82a6af3ffe4c96.zip |
Add VPATH and Haketilo version to the makefile as part of configure.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -59,17 +59,13 @@ case "${TARGET:-all}" in *) echo Invalid target "'$1'" >&2; exit 2;; esac -# Write record.conf -echo UPDATE_URL = "$UPDATE_URL" > record.conf +# Write record.conf (LEAVE SRCDIR FIRST) +echo srcdir = "$SRCDIR" > record.conf echo default_target = "$TARGET" >> record.conf -echo srcdir = "$SRCDIR" >> record.conf +echo UPDATE_URL = "$UPDATE_URL" >> record.conf -# Prepare environment for and run write_makefile.sh (as config.status) -if [ ! -e Makefile.in ]; then - cp "$SRCDIR"/Makefile.in . -fi - +# Prepare and run write_makefile.sh (as config.status) if [ ! -e config.status ]; then cp "$SRCDIR"/write_makefile.sh config.status fi |