Comparison

Makefile @ 5145:53f741a5a73a

configure, Makefile: Allow runtime to be overridden.
author Kim Alvefur <zash@zash.se>
date Fri, 28 Sep 2012 12:04:07 +0200
parent 4686:5fd661424b9f
child 5472:7c631ef43b11
comparison
equal deleted inserted replaced
5144:a30507061526 5145:53f741a5a73a
50 50
51 util/%.so: 51 util/%.so:
52 $(MAKE) install -C util-src 52 $(MAKE) install -C util-src
53 53
54 %.install: % 54 %.install: %
55 sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ 55 sed "1s/\blua\b/$(RUNWITH)/; \
56 s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \
56 s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \ 57 s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \
57 s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|; \ 58 s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|; \
58 s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" < $^ > $@ 59 s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" < $^ > $@
59 60
60 prosody.cfg.lua.install: prosody.cfg.lua.dist 61 prosody.cfg.lua.install: prosody.cfg.lua.dist