Skip to content

Commit f4cbec8

Browse files
committed
default only includes docs if --enable-build-docs
1 parent f14d665 commit f4cbec8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/src/Submakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,8 @@ $(DOC_DIR)/html/zh_CN/xref.html: objects/xref_zh_CN.xml $(DOC_SRCDIR)/xref.xsl $
660660
$(ECHO) Converting $< to HTML
661661
@xsltproc --stringparam docname "xref_zh_CN" --stringparam language chinese --path objects -o $@ $(DOC_SRCDIR)/xref.xsl $<
662662

663+
default: docs
664+
663665
install-doc-pdf:
664666
$(DIR) $(DESTDIR)$(docsdir)
665667
$(FILE) $(PDF_TARGETS) $(DESTDIR)$(docsdir)

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#
2121

2222

23-
default: build-software docs
23+
default: build-software
2424

2525
install: install-software install-docs
2626

0 commit comments

Comments
 (0)