Skip to content

Commit 0c62007

Browse files
committed
Add std docs to the build process
1 parent e071538 commit 0c62007

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Makefile.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ else
141141
endif
142142
endif
143143

144+
ifeq ($(CFG_NATURALDOCS),)
145+
$(info cfg: no naturaldocs found, omitting doc/std/index.html
146+
else
147+
DOCS += doc/std/index.html
148+
endif
149+
144150
ifdef CFG_DISABLE_DOCS
145151
$(info cfg: disabling doc build (CFG_DISABLE_DOCS))
146152
DOCS :=

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ probe CFG_MAKEINFO makeinfo
254254
probe CFG_TEXI2PDF texi2pdf
255255
probe CFG_TEX tex
256256
probe CFG_MAKENSIS makensis
257+
probe CFG_NATURALDOCS naturaldocs
257258

258259
if [ -z "$CFG_CLANG" -a -z "$CFG_GCC" ]
259260
then

0 commit comments

Comments
 (0)