]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/docs.extra
-quiet option for nesdoc
[tinyos-2.x.git] / support / make / docs.extra
index 767382275a3d05d5b3e444abcb068eeaa27360e5..07e5113c01d26664457af4ac382f89eb66f4eb73 100644 (file)
@@ -23,13 +23,17 @@ ifeq ($(filter preserve,$(DOCS)),preserve)
 PFLAGS += -preserve
 endif
 
+ifeq ($(filter quiet,$(DOCS)),quiet)
+QUIET = -quiet
+endif
+
 BUILD_DEPS = docs_
 
 docs_: FORCE
        @echo "    Making documentation for $(COMPONENT) on $(PLATFORM)"
         # first generate the xml files
-       nesdoc -o $(DOCDIR) $(NESDOC_FLAGS) $(PFLAGS) $(CFLAGS) $(COMPONENT).nc
+       nesdoc -o $(DOCDIR) $(NESDOC_FLAGS) $(PFLAGS) $(CFLAGS) $(QUIET) $(COMPONENT).nc
 ifneq ($(filter nohtml,$(DOCS)),nohtml)
         # generate html from the xml files
-       nesdoc -o $(DOCDIR) -html -target=$(PLATFORM) $(DOCS)
+       nesdoc -o $(DOCDIR) -html $(QUIET) -target=$(PLATFORM)
 endif