diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-19 01:09:21 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-19 01:09:21 +0200 |
commit | 8dceed3e9e3dda2a11e16ab8cf200d97561857d2 (patch) | |
tree | a05bd559cc211734b567326f2ccad675b3587884 /tools/migration/Makefile | |
parent | 4b33a7aac8b77777c3a59e94b2f82d365e421877 (diff) | |
download | prosody-8dceed3e9e3dda2a11e16ab8cf200d97561857d2.tar.gz prosody-8dceed3e9e3dda2a11e16ab8cf200d97561857d2.zip |
migrator: Inject data- and plugin paths during build
Same way as with the prosody and prosodyctl executables
Diffstat (limited to 'tools/migration/Makefile')
-rw-r--r-- | tools/migration/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/migration/Makefile b/tools/migration/Makefile index dc14e0da..4d916a9f 100644 --- a/tools/migration/Makefile +++ b/tools/migration/Makefile @@ -28,7 +28,9 @@ clean: prosody-migrator.install: prosody-migrator.lua sed "1s/\blua\b/$(RUNWITH)/; \ s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ - s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|;" \ + s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \ + s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|; \ + s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" \ < prosody-migrator.lua > prosody-migrator.install migrator.cfg.lua.install: migrator.cfg.lua |