mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-18 13:04:36 +10:00
- move Doxyfile to Doxyfile.in: type 'make Doxyfile' to recreate it - create Doxyfile from Doxyfile.in with make rule: - use sed substitution of $(srcdir) to location directories - delete all doxygen created files with 'make distclean' - include all required files (including logger.pl) in distribution git-svn-id: svn://svn.berlios.de/openocd/trunk@1901 b42882b7-edfa-0310-969c-e2dbd0fdcd60
45 lines
820 B
Makefile
45 lines
820 B
Makefile
# not a GNU package. You can remove this line, if
|
|
# have all needed files, that a GNU package needs
|
|
AUTOMAKE_OPTIONS = foreign 1.6
|
|
|
|
nobase_dist_pkgdata_DATA = \
|
|
contrib/libdcc/dcc_stdio.c \
|
|
contrib/libdcc/dcc_stdio.h \
|
|
contrib/libdcc/example.c \
|
|
contrib/libdcc/README \
|
|
contrib/openocd.udev
|
|
|
|
SUBDIRS = src doc
|
|
|
|
EXTRA_DIST = \
|
|
Doxyfile.in \
|
|
tools/logger.pl
|
|
|
|
docs: pdf html doxygen
|
|
|
|
Doxyfile: $(srcdir)/Doxyfile.in
|
|
sed -e 's,@srcdir\@,$(srcdir),' $< > $@
|
|
|
|
doxygen::
|
|
$(MAKE) Doxyfile
|
|
doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
|
|
|
|
distclean-local:
|
|
rm -rf Doxyfile doxygen
|
|
|
|
DISTCLEANFILES = doxygen.log
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
configure \
|
|
Makefile.in \
|
|
depcomp \
|
|
config.guess \
|
|
config.sub \
|
|
config.h.in \
|
|
config.h.in~ \
|
|
compile \
|
|
ltmain.sh \
|
|
missing \
|
|
aclocal.m4 \
|
|
install-sh
|