diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-29 02:07:33 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-29 02:07:33 +0000 |
commit | dcf87bb7c912e4206aae1fd3c959d87e8f59242f (patch) | |
tree | 177fbb997b71adf8bd842d00e6e245220d8f9997 /Makefile | |
parent | 625abbc37426b1a680128e29599c9f1e8fd4bf48 (diff) | |
download | prosody-dcf87bb7c912e4206aae1fd3c959d87e8f59242f.tar.gz prosody-dcf87bb7c912e4206aae1fd3c959d87e8f59242f.zip |
Add a top-level Makefile and ./configure script. Update util-src Makefile for this.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..00826f54 --- /dev/null +++ b/Makefile @@ -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 |