]> git.sur5r.net Git - openocd/blob - Makefile.am
Properly fix doxygen out-of-tree build process:
[openocd] / Makefile.am
1 # not a GNU package. You can remove this line, if
2 # have all needed files, that a GNU package needs
3 AUTOMAKE_OPTIONS = foreign 1.6
4
5 nobase_dist_pkgdata_DATA = \
6         contrib/libdcc/dcc_stdio.c \
7         contrib/libdcc/dcc_stdio.h \
8         contrib/libdcc/example.c \
9         contrib/libdcc/README \
10         contrib/openocd.udev
11
12 SUBDIRS = src doc
13
14 EXTRA_DIST = \
15         Doxyfile.in \
16         tools/logger.pl
17
18 docs: pdf html doxygen
19
20 Doxyfile: $(srcdir)/Doxyfile.in
21         sed -e 's,@srcdir\@,$(srcdir),' $< > $@
22
23 doxygen::
24         $(MAKE) Doxyfile
25         doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
26
27 distclean-local:
28         rm -rf Doxyfile doxygen
29
30 DISTCLEANFILES = doxygen.log
31
32 MAINTAINERCLEANFILES = \
33         configure \
34         Makefile.in \
35         depcomp \
36         config.guess \
37         config.sub \
38         config.h.in \
39         config.h.in~ \
40         compile \
41         ltmain.sh \
42         missing \
43         aclocal.m4 \
44         install-sh