Module: sip-router
Branch: master
Commit: 14a7d974e047ec6d45f65f7705a6c69079ac5689
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=14a7d97…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Thu May 28 16:20:53 2009 +0300
* Changed hardcoded string "ser" in paths to "$(MAIN_NAME)".
---
Makefile.defs | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/Makefile.defs b/Makefile.defs
index 2c2f057..1491503 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -165,38 +165,38 @@ endif
CC_EXTRA_OPTS ?=
# dirs
-cfg_dir = etc/ser/
+cfg_dir = etc/$(MAIN_NAME)/
bin_dir = sbin/
-share_dir = share/ser/
-# lib/ser/modules , lib/ser/modules-s, lib/ser/modules-k
-modules_dir = lib/ser/
-lib_dir = lib/ser/
+share_dir = share/$(MAIN_NAME)/
+# lib/$(MAIN_NAME)/modules , lib/$(MAIN_NAME)/modules-s, lib/$(MAIN_NAME)/modules-k
+modules_dir = lib/$(MAIN_NAME)/
+lib_dir = lib/$(MAIN_NAME)/
ifeq ($(OS), linux)
- doc_dir = share/doc/ser/
+ doc_dir = share/doc/$(MAIN_NAME)/
man_dir = share/man/
LOCALBASE ?= /usr/local
else
ifeq ($(OS), freebsd)
- doc_dir = share/doc/ser/
+ doc_dir = share/doc/$(MAIN_NAME)/
man_dir = man/
LOCALBASE ?= /usr/local
else
ifeq ($(OS), openbsd)
- doc_dir = share/doc/ser/
+ doc_dir = share/doc/$(MAIN_NAME)/
man_dir = man/
LOCALBASE ?= /usr/local
else
ifeq ($(OS), netbsd)
- doc_dir = share/doc/ser
+ doc_dir = share/doc/$(MAIN_NAME)/
man_dir = man/
LOCALBASE ?= /usr/pkg
else
ifeq ($(OS), darwin)
- doc_dir = share/doc/ser/
+ doc_dir = share/doc/$(MAIN_NAME)/
man_dir = man/
LOCALBASE ?= /usr/local
else
- doc_dir = doc/ser/
+ doc_dir = doc/$(MAIN_NAME)/
man_dir = man/
LOCALBASE ?= /usr/local
endif