Browse code

Makefile: updated installation of the man pages

Daniel-Constantin Mierla authored on 06/12/2016 13:54:33
Showing 1 changed files
... ...
@@ -858,7 +858,7 @@ install-sr-man: $(man_prefix)/$(man_dir)/man8 $(man_prefix)/$(man_dir)/man5
858 858
 				-e "s#/usr/lib/$(CFG_NAME)/$(m)\([^_]\)#$($(m)_target)\1#g") \
859 859
 			-e "s#/usr/share/doc/$(CFG_NAME)/#$(doc_target)#g" \
860 860
 			-e "s#$(SRC_NAME)#$(MAIN_NAME)#g" \
861
-			< $(SRC_NAME).8 >  \
861
+			< doc/man/$(MAIN_NAME).8 >  \
862 862
 							$(man_prefix)/$(man_dir)/man8/$(MAIN_NAME).8
863 863
 		@chmod 644  $(man_prefix)/$(man_dir)/man8/$(MAIN_NAME).8
864 864
 		@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
867 867
 				-e "s#/usr/lib/$(CFG_NAME)/$(m)\([^_]\)#$($(m)_target)\1#g") \
868 868
 			-e "s#/usr/share/doc/$(CFG_NAME)/#$(doc_target)#g" \
869 869
 			-e "s#$(SRC_NAME)#$(MAIN_NAME)#g" \
870
-			< $(SRC_NAME).cfg.5 >  \
870
+			< doc/man/$(MAIN_NAME).cfg.5 >  \
871 871
 			$(man_prefix)/$(man_dir)/man5/$(MAIN_NAME).cfg.5
872 872
 		@chmod 644  $(man_prefix)/$(man_dir)/man5/$(MAIN_NAME).cfg.5
873 873