Blame view

RIOT/doc/doxygen/Makefile 706 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  RIOTBASE=$(shell git rev-parse --show-toplevel)
  # Generate list of quoted absolute include paths. Evaluated in riot.doxyfile.
  export STRIP_FROM_INC_PATH_LIST=$(shell \
      git ls-tree -dr --full-tree --name-only HEAD |\
      grep '/include$$' |\
      sed 's/.*/\"$(subst /,\/,${RIOTBASE})\/\0\"/')
  
  .PHONY: doc
  doc: html
  
  # by marking html as phony we force make to re-run Doxygen even if the directory exists.
  .PHONY: html
  html:
  	( cat riot.doxyfile ; echo "GENERATE_HTML = yes" ) | doxygen -
  
  .PHONY: man
  man:
  	( cat riot.doxyfile ; echo "GENERATE_MAN = yes" ) | doxygen -
  
  .PHONY:
  latex:
  	( cat riot.doxyfile ; echo "GENERATE_LATEX= yes" ) | doxygen -
  
  clean:
  	-@rm -rf latex man html doxygen_objdb_*.tmp