Skip to content
Snippets Groups Projects
Unverified Commit cba386c1 authored by Mathieu Lirzin's avatar Mathieu Lirzin Committed by Ludovic Courtès
Browse files

build: Expand ‘scripts/guix’ at Make time.


This moves the complexity of Autotools variable expansion outside of the
application code.

* scripts/guix.in (config-lookup): Delete.
(maybe-augment-load-paths!, run-guix-main): Use fully expanded variables
instead of calling ‘config-lookup’.
* configure.ac: Don't use AC_CONFIG_FILES for ‘scripts/guix’.
Use AC_PROG_SED.
* Makefile.am (scripts/guix): New rule.
(do_subst): New variable.
(CLEANFILES, EXTRA_DIST): Adapt.

Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
parent 341afe2a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment