about summary refs log tree commit diff
path: root/mk/docs.mk
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-01-19 13:26:43 -0800
committerGraydon Hoare <graydon@mozilla.com>2012-01-19 13:26:59 -0800
commitc2dba1799f85e062ddc6c9dc4302ce500db07ac6 (patch)
treeda408350ca499d0d1b6feb962379fedb102cce2b /mk/docs.mk
parent3e25444e5194fef5a06fb82e1c7726f66c705c88 (diff)
Actually use CFG_NATURALDOCS rather than hardcoding naturaldocs name.
Diffstat (limited to 'mk/docs.mk')
-rw-r--r--mk/docs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/docs.mk b/mk/docs.mk
index 5532ca0ca41..acb6eec2234 100644
--- a/mk/docs.mk
+++ b/mk/docs.mk
@@ -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: $$@)