Module: sip-router Branch: master Commit: ca450b4be77150ce23ce825d795d697b4dea808f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ca450b4b...
Author: Ovidiu Sas osas@voipembedded.com Committer: Ovidiu Sas osas@voipembedded.com Date: Wed Dec 12 17:33:56 2012 -0500
xhttp_pi: install framework samples
---
modules/xhttp_pi/Makefile | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/modules/xhttp_pi/Makefile b/modules/xhttp_pi/Makefile index 8982013..fcabe89 100644 --- a/modules/xhttp_pi/Makefile +++ b/modules/xhttp_pi/Makefile @@ -29,6 +29,16 @@ SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1 include ../../Makefile.modules
install-cfg: + # provisionning xml framework samples + @mkdir -p $(data_prefix)/$(data_dir)/xhttp_pi + @for FILE in $(wildcard ../../utils/kamctl/xhttp_pi/*) ; do \ + if [ -f $$FILE ] ; then \ + $(INSTALL_TOUCH) $$FILE \ + $(data_prefix)/$(data_dir)/xhttp_pi/`basename "$$FILE"` ; \ + $(INSTALL_CFG) $$FILE \ + $(data_prefix)/$(data_dir)/xhttp_pi/`basename "$$FILE"` ; \ + fi ; \ + done # provisionning xml framework @$(call try_err, $(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/pi_framework.xml.sample) @$(call try_err, $(INSTALL_CFG) ../../examples/pi_framework.xml \