mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Make install-doc depend on update-man to get the newest
This commit is contained in:
parent
b8301917ec
commit
54e980abe4
@ -60,7 +60,7 @@ man: txt $(MAN_DOCS)
|
|||||||
|
|
||||||
all-docs: man html pdf
|
all-docs: man html pdf
|
||||||
|
|
||||||
install-doc: all-docs install
|
install-doc: all-docs update-man install
|
||||||
$(foreach doc,$(HTML_DOCS), \
|
$(foreach doc,$(HTML_DOCS), \
|
||||||
if test -d $(doc); then \
|
if test -d $(doc); then \
|
||||||
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/html/$(doc); \
|
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/html/$(doc); \
|
||||||
@ -74,9 +74,10 @@ install-doc: all-docs install
|
|||||||
$(call ncmd,installdata,$(doc),$(PDF_DIR);))
|
$(call ncmd,installdata,$(doc),$(PDF_DIR);))
|
||||||
|
|
||||||
update-man: man
|
update-man: man
|
||||||
$(call cmd,installdata,elinks.1,man/man1/elinks.1.in)
|
$(if $(MAN_DOCS), \
|
||||||
$(call cmd,installdata,elinkskeys.5,man/man5/)
|
$(call ncmd,installdata,elinks.1,man/man1/elinks.1.in); \
|
||||||
$(call cmd,installdata,elinks.conf.5,man/man5/)
|
$(call ncmd,installdata,elinkskeys.5,man/man5/); \
|
||||||
|
$(call ncmd,installdata,elinks.conf.5,man/man5/))
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
@$(RM) -r api $(TXT_DOCS) $(MAN_DOCS) $(HTML_DOCS) $(PDF_DOCS) *.tmp *.xml
|
@$(RM) -r api $(TXT_DOCS) $(MAN_DOCS) $(HTML_DOCS) $(PDF_DOCS) *.tmp *.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user