mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Make *-docs depend on doc-dirs; beware if you build individual files
This commit is contained in:
parent
0f8f5b0635
commit
b70133760f
@ -83,17 +83,15 @@ MAN_DOCS += $(MAN_DOCS-yes)
|
||||
HTML_DOCS += $(HTML_DOCS-yes)
|
||||
PDF_DOCS += $(PDF_DOCS-yes)
|
||||
|
||||
man-docs: $(addprefix $(MAN_DIR)/,$(MAN_DOCS))
|
||||
html-docs: $(addprefix $(HTML_DIR)/,$(HTML_DOCS))
|
||||
pdf-docs: $(addprefix $(PDF_DIR)/,$(PDF_DOCS))
|
||||
man-docs: doc-dirs $(addprefix $(MAN_DIR)/,$(MAN_DOCS))
|
||||
html-docs: doc-dirs $(addprefix $(HTML_DIR)/,$(HTML_DOCS))
|
||||
pdf-docs: doc-dirs $(addprefix $(PDF_DIR)/,$(PDF_DOCS))
|
||||
|
||||
all-docs: man-docs html-docs pdf-docs
|
||||
|
||||
### Build Rules
|
||||
#
|
||||
|
||||
$(MAKECMDGOALS): doc-dirs
|
||||
|
||||
doc-dirs:
|
||||
$(INSTALL) -d $(DOC_DIRS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user