aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 560a006e14b1337297313c3a645e454b3ffdb8d2 (plain)
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
MAINTAINERCLEANFILES=Makefile.in config.log
if HAVE_DOXYGEN
CLEANFILES=doxygen-build.stamp

DOX=documentation.doxygen

INSTIMAGES=html/doxygen.png

DOC_STAMPS=html-build.stamp

DOC_DIR=$(HTML_DIR)

all-local: doxygen-build.stamp

doxygen-build.stamp: $(DOX) ../xtract/libxtract.h ../xtract/xtract_scalar.h ../xtract/xtract_vector.h
		@echo '*** Running doxygen ***'
		doxygen $(DOX)
		touch doxygen-build.stamp

clean-local:
		rm -f *~ *.bak $(DOC_STAMPS) || true
		if test -d html; then rm -fr html; fi
		if test -d latex; then rm -fr latex; fi
		if test -d man; then rm -fr man; fi

distclean-local: clean
		rm -f *.stamp || true
		if test -d html; then rm -rf html; fi

endif