diff --git a/apps/Makefile b/apps/Makefile index 23fad0551b..09bc7df507 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -34,6 +34,8 @@ BASEDIR = $(shell pwd | sed 's@\(.*\)/apps.*$$@\1@' ) # The output directory for generated documentation DOCDIR = $(BASEDIR)/doc/nesdoc +PLATFORMS=btnode3 epic eyesIFX eyesIFXv1 eyesIFXv2 intelmote2 iris mica2 mica2dot micaz mulle null sam3s_ek sam3u_ek shimmer shimmer2 shimmer2r span telos telosa telosb tinynode tmote ucbase ucmini ucprotonb z1 + nesdoc: @echo This target rebuilds documentation for all known platforms. @echo It DOES NOT overwrite any existing documentation, thus, it @@ -43,8 +45,8 @@ nesdoc: @echo $(DOCDIR) directory. @echo @echo Press Enter to continue, or ^C to abort. - @read - for platform in `ncc -print-platforms`; do \ - $(MAKE) $$platform docs.nohtml.preserve; \ - nesdoc -o $(DOCDIR) -html -target=$$platform; \ + @read docs + @echo Building the platformdocumentation. + for platform in $(PLATFORMS); do \ + $(MAKE) $$platform docs; \ done