]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/appdoc.extra
-quiet option for nesdoc
[tinyos-2.x.git] / support / make / appdoc.extra
index 7d29e818074ee9aee212b7d75808842072f715ea..0e7500c1fc07b3a84692d12af4799c492cef0405 100644 (file)
@@ -9,9 +9,13 @@ endif
 
 BUILD_DEPS = appdoc_
 
+ifeq ($(filter quiet,$(APPDOC)),quiet)
+QUIET = -quiet
+endif
+
 appdoc_: FORCE
        @echo "    Making application documentation for $(COMPONENT) on $(PLATFORM)"
         # first generate the xml files
-       nesdoc -o build $(NESDOC_FLAGS) $(PFLAGS) $(CFLAGS) $(COMPONENT).nc -app
+       nesdoc -o build $(NESDOC_FLAGS) $(PFLAGS) $(CFLAGS) $(COMPONENT).nc -app $(QUIET)
         # generate html from the xml files
-       nesdoc -o build -html -target=$(PLATFORM)
+       nesdoc -o build -html -target=$(PLATFORM) $(QUIET)