Software /
code /
prosody
Comparison
Makefile @ 480:5d00d623904e
Update Makefile to set correct paths on install with Debian package
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 17:22:05 +0000 |
parent | 467:66f145f5c932 |
child | 481:29f974ef00a7 |
comparison
equal
deleted
inserted
replaced
479:67b8d8260443 | 480:5d00d623904e |
---|---|
3 | 3 |
4 BIN = $(DESTDIR)$(PREFIX)/bin | 4 BIN = $(DESTDIR)$(PREFIX)/bin |
5 CONFIG = $(DESTDIR)$(SYSCONFDIR) | 5 CONFIG = $(DESTDIR)$(SYSCONFDIR) |
6 MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules | 6 MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules |
7 SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody | 7 SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody |
8 | |
9 INSTALLEDSOURCE = $(PREFIX)/lib/prosody | |
10 INSTALLEDCONFIG = $(SYSCONFDIR) | |
11 INSTALLEDMODULES = $(PREFIX)/lib/prosody/modules | |
12 | |
8 | 13 |
9 all: | 14 all: |
10 $(MAKE) all -C util-src | 15 $(MAKE) all -C util-src |
11 | 16 |
12 install: prosody.install util/encodings.so util/encodings.so | 17 install: prosody.install util/encodings.so util/encodings.so |
29 | 34 |
30 util/hashes.so: | 35 util/hashes.so: |
31 $(MAKE) install -C util-src | 36 $(MAKE) install -C util-src |
32 | 37 |
33 prosody.install: prosody | 38 prosody.install: prosody |
34 sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(SOURCE)';|;s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(CONFIG)';|;s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(MODULES)/';|;" prosody > prosody.install | 39 sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|;s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|;s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" prosody > prosody.install |
35 | 40 |