aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration/Makefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-05 21:32:34 +0200
committerKim Alvefur <zash@zash.se>2019-05-05 21:32:34 +0200
commit6041d3e4e83ca60fb16fb4f61d83084a76632da9 (patch)
tree2af20a08d372142ea37aa168e8bb684b8566e13a /tools/migration/Makefile
parent40040cdfbca7a934bb5e1256a9fdd403350eeaae (diff)
downloadprosody-6041d3e4e83ca60fb16fb4f61d83084a76632da9.tar.gz
prosody-6041d3e4e83ca60fb16fb4f61d83084a76632da9.zip
migrator: Rewrite to use storage modules
This allows migrating to and from any storage module that supports the right methods. Based on experimental mod_migrate work.
Diffstat (limited to 'tools/migration/Makefile')
-rw-r--r--tools/migration/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/migration/Makefile b/tools/migration/Makefile
index 713831d2..dc14e0da 100644
--- a/tools/migration/Makefile
+++ b/tools/migration/Makefile
@@ -12,16 +12,13 @@ INSTALLEDCONFIG = $(SYSCONFDIR)
INSTALLEDMODULES = $(LIBDIR)/prosody/modules
INSTALLEDDATA = $(DATADIR)
-SOURCE_FILES = migrator/*.lua
-
-all: prosody-migrator.install migrator.cfg.lua.install prosody-migrator.lua $(SOURCE_FILES)
+all: prosody-migrator.install migrator.cfg.lua.install prosody-migrator.lua
install: prosody-migrator.install migrator.cfg.lua.install
- install -d $(BIN) $(CONFIG) $(SOURCE) $(SOURCE)/migrator
+ install -d $(BIN) $(CONFIG) $(SOURCE)
install -d $(MAN)/man1
install -d $(SOURCE)/migrator
install -m755 ./prosody-migrator.install $(BIN)/prosody-migrator
- install -m644 $(SOURCE_FILES) $(SOURCE)/migrator
test -e $(CONFIG)/migrator.cfg.lua || install -m644 migrator.cfg.lua.install $(CONFIG)/migrator.cfg.lua
clean: