File: Makefile.am

package info (click to toggle)
libtrace3 3.0.7-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,676 kB
  • ctags: 3,140
  • sloc: ansic: 20,551; sh: 10,125; cpp: 1,384; makefile: 415; yacc: 96; lex: 50
file content (43 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (6)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DOXYGEN_CONF = libtrace.doxygen
DOXYGEN_FOLDERS = doxygen/html doxygen/man

if HAS_DOXYGEN
EXTRA_DIST = $(DOXYGEN_FOLDERS)
else
EXTRA_DIST = 
endif

doxygen/html: doxy

doxygen/latex: doxy

doxygen/man: doxy


documentation: latex

latex: *.tex
	latex2html -dir html -split 0 *.tex

all: doxy

distclean: doxyclean

doxy:
	@if test x"$(libtrace_doxygen)" = xtrue ; then \
	  if test -f $(DOXYGEN_CONF) ; then \
	    doxygen $(DOXYGEN_CONF) ; \
	  else \
	    echo "Sorry, doxygen conf file $(DOXYGEN_CONF) does not exist" ; \
	  fi ; \
	else \
	  echo "Sorry, you do not have doxygen in your PATH." ; \
	fi

doxyclean:
	@for folder in $(DOXYGEN_FOLDERS) ; do \
	  if test -d $$folder ; then \
	    rm -rf $$folder ; \
	  fi \
	done