-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
53 lines (41 loc) · 972 Bytes
/
Makefile.am
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
44
45
46
47
48
49
50
51
52
# "foreign" means not GNU, and is common for avoiding boring messages
# about files organized differently from what GNU expects
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
SUBDIRS = \
tempi \
plugins-base \
python_module \
src \
data \
man \
abstractions \
doc
EXTRA_DIST = \
LICENSE \
NEWS \
README
# pkg-config file:
DISTCLEANFILES = \
doxymain.h \
tempi.pc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = tempi-@[email protected]
html-local: htmldoc
htmldoc:
@if [ -z `which doxygen` ]; then echo "No Doxygen!"; else doxygen; fi
# Documentation:
if HAVE_DOXYGEN
doxyfile.stamp:
echo "/*! \mainpage Tempi" > doxymain.h
echo " * \verbatim" >> doxymain.h
cat $(srcdir)/README >> doxymain.h
echo " \endverbatim" >> doxymain.h
echo " */" >> doxymain.h
$(DOXYGEN) doxyfile
echo `date -R` > doxyfile.stamp
CLEANFILES = doxyfile.stamp
all-local: doxyfile.stamp
clean-local:
rm -rf html
endif