[sr-dev] git:master: tls: updated to the new auto install cfg makefile

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Oct 1 17:01:07 CEST 2009


Module: sip-router
Branch: master
Commit: ce383454955291178e9fd097711ca28a11363009
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ce383454955291178e9fd097711ca28a11363009

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Thu Oct  1 16:01:34 2009 +0200

tls: updated to the new auto install cfg makefile

---

 modules/tls/Makefile |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/modules/tls/Makefile b/modules/tls/Makefile
index 8fac654..f3970a4 100644
--- a/modules/tls/Makefile
+++ b/modules/tls/Makefile
@@ -15,17 +15,14 @@ LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl  -lcrypto \
 # NOTE: depending on the way in which libssl was compiled you might
 #       have to add -lz -lkrb5   (zlib and kerberos5).
 #       E.g.: make TLS_HOOKS=1 TLS_EXTRA_LIBS="-lz -lkrb5"
-
+MOD_INSTALL_CFGS=tls.cfg
 
 DEFS+=-DOPENSER_MOD_INTERFACE
 
 include ../../Makefile.modules
 
-$(cfg_prefix)/$(cfg_dir):
-		mkdir -p $(cfg_prefix)/$(cfg_dir)
 
-install-cfg: $(cfg_prefix)/$(cfg_dir)
-	$(INSTALL_CFG) tls.cfg $(cfg_prefix)/$(cfg_dir)
+install-tls-cert: $(cfg_prefix)/$(cfg_dir)
 	./$(SCR_NAME)_cert.sh -d $(cfg_prefix)/$(cfg_dir)
 
-install: install-cfg
+install-cfg:  install-tls-cert




More information about the sr-dev mailing list