Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit the make target for the generation of the platform documentation. #336

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions apps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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