diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-30 14:30:22 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-30 14:30:22 +0000 |
commit | 939c5b324dba2fca9fdfe92cfee519c4a36a00ad (patch) | |
tree | 35930b3bf74fa0f93d4e57d3afb633fe9841a994 /Makefile | |
parent | 90aca9cd5cecd28a32461814938b88e0acb1c02a (diff) | |
download | prosody-939c5b324dba2fca9fdfe92cfee519c4a36a00ad.tar.gz prosody-939c5b324dba2fca9fdfe92cfee519c4a36a00ad.zip |
Makefile fix for creating datadir in correct place on install
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -5,8 +5,7 @@ BIN = $(DESTDIR)$(PREFIX)/bin CONFIG = $(DESTDIR)$(SYSCONFDIR) MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody - -DATADIR?=data +DATA = $(DESTDIR)$(DATADIR) INSTALLEDSOURCE = $(PREFIX)/lib/prosody INSTALLEDCONFIG = $(SYSCONFDIR) @@ -17,7 +16,7 @@ all: prosody.install prosody.cfg.lua.install $(MAKE) all -C util-src install: prosody.install prosody.cfg.lua.install util/encodings.so util/encodings.so - install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(DATADIR) + install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(DATA) install -d $(CONFIG)/certs install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util install ./prosody.install $(BIN)/prosody |