Actually use CFG_NATURALDOCS rather than hardcoding naturaldocs name.

This commit is contained in:
Graydon Hoare 2012-01-19 13:26:43 -08:00
parent 3e25444e51
commit c2dba1799f
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ define libdoc
doc/$(1)/index.html: nd/$(1)/Languages.txt nd/$(1)/Topics.txt \
nd/$(1)/lib.css $(2)
@$$(call E, naturaldocs: $$@)
naturaldocs -i $(S)src/lib$(1) -o HTML doc/$(1) -p nd/$(1) -r -s Default lib
$(CFG_NATURALDOCS) -i $(S)src/lib$(1) -o HTML doc/$(1) \
-p nd/$(1) -r -s Default lib
nd/$(1)/Languages.txt: $(S)doc/Languages.txt
@$$(call E, cp: $$@)