Module: kamailio
Branch: master
Commit: 6045525bc439ca49df3145adf245836b21e26dd1
URL:
https://github.com/kamailio/kamailio/commit/6045525bc439ca49df3145adf245836…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-12-06T14:55:05+01:00
Makefile: updated installation of the man pages
---
Modified: Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/6045525bc439ca49df3145adf245836…
Patch:
https://github.com/kamailio/kamailio/commit/6045525bc439ca49df3145adf245836…
---
diff --git a/Makefile b/Makefile
index e89b8fc..05bbd60 100644
--- a/Makefile
+++ b/Makefile
@@ -858,7 +858,7 @@ install-sr-man: $(man_prefix)/$(man_dir)/man8
$(man_prefix)/$(man_dir)/man5
-e "s#/usr/lib/$(CFG_NAME)/$(m)\([^_]\)#$($(m)_target)\1#g") \
-e "s#/usr/share/doc/$(CFG_NAME)/#$(doc_target)#g" \
-e "s#$(SRC_NAME)#$(MAIN_NAME)#g" \
- < $(SRC_NAME).8 > \
+ < doc/man/$(MAIN_NAME).8 > \
$(man_prefix)/$(man_dir)/man8/$(MAIN_NAME).8
@chmod 644 $(man_prefix)/$(man_dir)/man8/$(MAIN_NAME).8
@sed -e "s#/etc/$(CFG_NAME)/$(CFG_NAME)\.cfg#$(cfg_target)$(MAIN_NAME).cfg#g"
\
@@ -867,7 +867,7 @@ install-sr-man: $(man_prefix)/$(man_dir)/man8
$(man_prefix)/$(man_dir)/man5
-e "s#/usr/lib/$(CFG_NAME)/$(m)\([^_]\)#$($(m)_target)\1#g") \
-e "s#/usr/share/doc/$(CFG_NAME)/#$(doc_target)#g" \
-e "s#$(SRC_NAME)#$(MAIN_NAME)#g" \
- < $(SRC_NAME).cfg.5 > \
+ < doc/man/$(MAIN_NAME).cfg.5 > \
$(man_prefix)/$(man_dir)/man5/$(MAIN_NAME).cfg.5
@chmod 644 $(man_prefix)/$(man_dir)/man5/$(MAIN_NAME).cfg.5