Module: sip-router
Branch: master
Commit: ad57482b7d05417f7f0058cef8c698f18d6d9a39
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ad57482…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Mar 16 18:15:56 2010 +0100
makefile: fix install-cfg & install-utils on solaris
Reported-by: Nathaniel L Keeling keeling akan-tech com
---
Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index e641990..51a5a53 100644
--- a/Makefile
+++ b/Makefile
@@ -917,8 +917,8 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
$(cfg_prefix)/$(cfg_dir)$(MAIN_NAME)-advanced.cfg; \
fi; \
fi
- # other configs
- @for r in $(C_INSTALL_CFGS) ; do \
+ @# other configs
+ @for r in $(C_INSTALL_CFGS) ""; do \
if [ -n "$$r" ]; then \
if [ -f "$$r" ]; then \
n=`basename "$$r"` ; \
@@ -1005,8 +1005,10 @@ install-utils: utils $(bin_prefix)/$(bin_dir)
fi ;\
fi ; \
done; true
- @for ut in $(C_INSTALL_UTILS) ; do \
- $(call try_err, $(MAKE) -C "$${ut}" install-if-newer ) ;\
+ @for ut in $(C_INSTALL_UTILS) "" ; do \
+ if [ -n "$$r" ]; then \
+ $(call try_err, $(MAKE) -C "$${ut}" install-if-newer ) ;\
+ fi ; \
done; true