1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Make install-doc depend on update-man to get the newest

This commit is contained in:
Jonas Fonseca 2006-01-13 12:48:37 +01:00 committed by Jonas Fonseca
parent b8301917ec
commit 54e980abe4

View File

@ -60,7 +60,7 @@ man: txt $(MAN_DOCS)
all-docs: man html pdf
install-doc: all-docs install
install-doc: all-docs update-man install
$(foreach doc,$(HTML_DOCS), \
if test -d $(doc); then \
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/html/$(doc); \
@ -74,9 +74,10 @@ install-doc: all-docs install
$(call ncmd,installdata,$(doc),$(PDF_DIR);))
update-man: man
$(call cmd,installdata,elinks.1,man/man1/elinks.1.in)
$(call cmd,installdata,elinkskeys.5,man/man5/)
$(call cmd,installdata,elinks.conf.5,man/man5/)
$(if $(MAN_DOCS), \
$(call ncmd,installdata,elinks.1,man/man1/elinks.1.in); \
$(call ncmd,installdata,elinkskeys.5,man/man5/); \
$(call ncmd,installdata,elinks.conf.5,man/man5/))
clean-local:
@$(RM) -r api $(TXT_DOCS) $(MAN_DOCS) $(HTML_DOCS) $(PDF_DOCS) *.tmp *.xml