File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -588,6 +588,27 @@ install-demos:
588588 done ;
589589
590590install-doc : doc
591+ @for i in " $( MAN_INSTALL_DIR) " " $( MAN1_INSTALL_DIR) " " $( MAN3_INSTALL_DIR) " " $( MANN_INSTALL_DIR) " ; \
592+ do \
593+ if [ ! -d " $$ i" ] ; then \
594+ echo " Making directory $$ i" ; \
595+ mkdir -p " $$ i" ; \
596+ chmod 755 " $$ i" ; \
597+ else true ; \
598+ fi ; \
599+ done ;
600+ @echo " Installing and cross-linking top-level (.1) docs" ;
601+ @for i in $(ROOT_DIR ) /doc/* .1; do \
602+ $(SHELL ) $(UNIX_DIR ) /installManPage $(MAN_FLAGS ) $$ i " $( MAN1_INSTALL_DIR) " ; \
603+ done
604+ @echo " Installing and cross-linking C API (.3) docs" ;
605+ @for i in $(ROOT_DIR ) /doc/* .3; do \
606+ $(SHELL ) $(UNIX_DIR ) /installManPage $(MAN_FLAGS ) $$ i " $( MAN3_INSTALL_DIR) " ; \
607+ done
608+ @echo " Installing and cross-linking command (.n) docs" ;
609+ @for i in $(ROOT_DIR ) /doc/* .n; do \
610+ $(SHELL ) $(UNIX_DIR ) /installManPage $(MAN_FLAGS ) $$ i " $( MANN_INSTALL_DIR) " ; \
611+ done
591612
592613# Optional target to install private headers
593614install-private-headers : libraries
You can’t perform that action at this time.
0 commit comments