From e0c94ac47a4ec4378f1341158d82a6af3ffe4c96 Mon Sep 17 00:00:00 2001 From: jahoti Date: Wed, 13 Oct 2021 00:00:00 +0000 Subject: Add VPATH and Haketilo version to the makefile as part of configure. --- configure | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 3e12cbb..98d2ec5 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3