Software /
code /
prosody
Diff
Makefile @ 463:a2452d3bd828
Add a top-level Makefile and ./configure script. Update util-src Makefile for this.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 02:07:33 +0000 |
child | 464:f1827353fd58 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sat Nov 29 02:07:33 2008 +0000 @@ -0,0 +1,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