Software /
code /
prosody
Comparison
Makefile @ 514:03d7da01843e
Change sed usage back into one sed script for incompetent versions of sed
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 30 Nov 2008 19:58:22 +0000 |
parent | 512:eb50ee09c2bb |
child | 586:b828d7d47973 |
comparison
equal
deleted
inserted
replaced
513:cadc9d6db7d8 | 514:03d7da01843e |
---|---|
38 | 38 |
39 util/hashes.so: | 39 util/hashes.so: |
40 $(MAKE) install -C util-src | 40 $(MAKE) install -C util-src |
41 | 41 |
42 prosody.install: prosody | 42 prosody.install: prosody |
43 cp prosody prosody.install | 43 sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ |
44 sed -i "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|;" prosody.install | 44 s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \ |
45 sed -i "s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|;" prosody.install | 45 s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|; \ |
46 sed -i "s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|;" prosody.install | 46 s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" < prosody > prosody.install |
47 # The trailing slash is intentional in this one | |
48 sed -i "s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" prosody.install | |
49 | 47 |
50 prosody.cfg.lua.install: | 48 prosody.cfg.lua.install: |
51 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > prosody.cfg.lua.install | 49 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > prosody.cfg.lua.install |
52 | 50 |