From aa1fe37ca5d21921b3ccf24b1b7b99bb3eb2d675 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 28 Sep 2012 12:04:07 +0200 Subject: configure, Makefile: Allow runtime to be overridden. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1acdd051..0e69192a 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,8 @@ util/%.so: $(MAKE) install -C util-src %.install: % - sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ + sed "1s/\blua\b/$(RUNWITH)/; \ + s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \ s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|; \ s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" < $^ > $@ -- cgit v1.2.3