2006-06-02 10:36:31 +00:00
|
|
|
# not a GNU package. You can remove this line, if
|
|
|
|
# have all needed files, that a GNU package needs
|
2009-05-02 22:35:02 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign 1.6
|
2006-06-02 10:36:31 +00:00
|
|
|
|
2009-01-16 12:48:00 +00:00
|
|
|
nobase_dist_pkgdata_DATA = \
|
|
|
|
contrib/libdcc/dcc_stdio.c \
|
|
|
|
contrib/libdcc/dcc_stdio.h \
|
|
|
|
contrib/libdcc/example.c \
|
2009-01-21 04:13:16 +00:00
|
|
|
contrib/libdcc/README \
|
|
|
|
contrib/openocd.udev
|
2009-01-16 12:48:00 +00:00
|
|
|
|
2007-11-21 16:37:17 +00:00
|
|
|
SUBDIRS = src doc
|
2009-01-20 03:55:38 +00:00
|
|
|
|
2009-05-24 01:08:16 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
Doxyfile.in \
|
|
|
|
tools/logger.pl
|
2009-05-12 08:56:22 +00:00
|
|
|
|
2009-05-20 20:52:14 +00:00
|
|
|
docs: pdf html doxygen
|
|
|
|
|
2009-05-24 01:08:16 +00:00
|
|
|
Doxyfile: $(srcdir)/Doxyfile.in
|
2009-05-27 02:01:15 +00:00
|
|
|
@echo "Creating $@ from $<..."
|
|
|
|
@( \
|
|
|
|
echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
|
|
|
|
echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
|
|
|
|
sed -e 's,@srcdir\@,$(srcdir),' $< \
|
|
|
|
) > $@
|
2009-05-24 01:08:16 +00:00
|
|
|
|
2009-05-20 20:52:14 +00:00
|
|
|
doxygen::
|
2009-05-24 01:08:16 +00:00
|
|
|
$(MAKE) Doxyfile
|
|
|
|
doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
|
|
|
|
|
2009-05-27 06:49:24 +00:00
|
|
|
TCL_PATH = tcl
|
2009-05-27 06:44:43 +00:00
|
|
|
# command to find paths of script files, relative to TCL_PATH
|
|
|
|
TCL_FILES := find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
|
|
|
|
sed -e 's,^$(srcdir)/$(TCL_PATH),,'
|
|
|
|
|
|
|
|
dist-hook:
|
|
|
|
for i in $$($(TCL_FILES)); do \
|
|
|
|
j="$(distdir)/$(TCL_PATH)/$$i" && \
|
|
|
|
mkdir -p "$$(dirname $$j)" && \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
|
|
|
|
done
|
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
for i in $$($(TCL_FILES)); do \
|
|
|
|
j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
|
|
|
|
mkdir -p "$$(dirname $$j)" && \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
rm -rf $(DESTDIR)$(pkgdatadir)/scripts
|
|
|
|
|
|
|
|
|
2009-05-24 01:08:16 +00:00
|
|
|
distclean-local:
|
|
|
|
rm -rf Doxyfile doxygen
|
2009-05-20 20:52:14 +00:00
|
|
|
|
2009-05-24 01:08:16 +00:00
|
|
|
DISTCLEANFILES = doxygen.log
|
2009-05-20 20:52:14 +00:00
|
|
|
|
2009-01-20 03:55:38 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
configure \
|
|
|
|
Makefile.in \
|
|
|
|
depcomp \
|
|
|
|
config.guess \
|
|
|
|
config.sub \
|
|
|
|
config.h.in \
|
2009-05-02 22:35:02 +00:00
|
|
|
config.h.in~ \
|
|
|
|
compile \
|
2009-05-10 22:03:57 +00:00
|
|
|
ltmain.sh \
|
2009-01-20 03:55:38 +00:00
|
|
|
missing \
|
|
|
|
aclocal.m4 \
|
|
|
|
install-sh
|