File: appdoc.extra

package info (click to toggle)
tinyos 2.1.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 47,476 kB
  • ctags: 36,607
  • sloc: ansic: 63,646; cpp: 14,974; java: 10,358; python: 5,215; makefile: 1,724; sh: 902; asm: 597; xml: 392; perl: 74; awk: 46
file content (21 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#-*-Makefile-*- vim:syntax=make
#$Id: appdoc.extra,v 1.2 2008-05-02 20:49:44 idgay Exp $

# configure the base for the app dirs.  This is used to generate more
# useful package names in the documentation.
ifeq ($(BASEDIR)_x, _x)
BASEDIR := $(shell pwd | sed 's@\(.*\)/apps.*$$@\1@' )
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 $(QUIET)
        # generate html from the xml files
	nesdoc -o build -html -target=$(PLATFORM) $(QUIET)