aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 00826f5490206bbe1683ea37545d244b9c798074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

include config.unix

BIN = $(DESTDIR)$(PREFIX)/bin
CONFIG = $(DESTDIR)$(SYSCONFDIR)
MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules

SOURCEDIR = $(DESTDIR)$(PREFIX)/lib/prosody

all:
	$(MAKE) all -C util-src

install: prosody
	install -d $(BIN) $(CONFIG) $(MODULES)
	install ./prosody $(BIN)
	install -m644 plugins/* $(MODULES)
	install -m644 prosody.cfg.lua $(CONFIG)
	$(MAKE) install -C util-src

clean:
	$(MAKE) clean -C util-src