2006-06-02 05:36:31 -05:00
|
|
|
# not a GNU package. You can remove this line, if
|
|
|
|
# have all needed files, that a GNU package needs
|
2009-05-02 17:35:02 -05:00
|
|
|
AUTOMAKE_OPTIONS = foreign 1.6
|
2006-06-02 05:36:31 -05:00
|
|
|
|
2009-01-16 06:48:00 -06:00
|
|
|
nobase_dist_pkgdata_DATA = \
|
|
|
|
contrib/libdcc/dcc_stdio.c \
|
|
|
|
contrib/libdcc/dcc_stdio.h \
|
|
|
|
contrib/libdcc/example.c \
|
2009-01-20 22:13:16 -06:00
|
|
|
contrib/libdcc/README \
|
|
|
|
contrib/openocd.udev
|
2009-01-16 06:48:00 -06:00
|
|
|
|
2007-11-21 10:37:17 -06:00
|
|
|
SUBDIRS = src doc
|
2009-01-19 21:55:38 -06:00
|
|
|
|
2009-05-23 20:08:16 -05:00
|
|
|
EXTRA_DIST = \
|
|
|
|
Doxyfile.in \
|
|
|
|
tools/logger.pl
|
2009-05-12 03:56:22 -05:00
|
|
|
|
2009-05-20 15:52:14 -05:00
|
|
|
docs: pdf html doxygen
|
|
|
|
|
2009-05-23 20:08:16 -05:00
|
|
|
Doxyfile: $(srcdir)/Doxyfile.in
|
2009-05-26 21:01:15 -05:00
|
|
|
@echo "Creating $@ from $<..."
|
|
|
|
@( \
|
|
|
|
echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
|
|
|
|
echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
|
|
|
|
sed -e 's,@srcdir\@,$(srcdir),' $< \
|
|
|
|
) > $@
|
2009-05-23 20:08:16 -05:00
|
|
|
|
2009-05-20 15:52:14 -05:00
|
|
|
doxygen::
|
2009-05-23 20:08:16 -05:00
|
|
|
$(MAKE) Doxyfile
|
|
|
|
doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
|
|
|
|
|
2009-05-27 01:49:24 -05:00
|
|
|
TCL_PATH = tcl
|
2009-05-27 01:44:43 -05: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-23 20:08:16 -05:00
|
|
|
distclean-local:
|
|
|
|
rm -rf Doxyfile doxygen
|
2009-05-20 15:52:14 -05:00
|
|
|
|
2009-05-23 20:08:16 -05:00
|
|
|
DISTCLEANFILES = doxygen.log
|
2009-05-20 15:52:14 -05:00
|
|
|
|
2009-01-19 21:55:38 -06:00
|
|
|
MAINTAINERCLEANFILES = \
|
2009-06-09 05:28:16 -05:00
|
|
|
$(srcdir)/configure \
|
|
|
|
$(srcdir)/Makefile.in \
|
|
|
|
$(srcdir)/depcomp \
|
|
|
|
$(srcdir)/config.guess \
|
|
|
|
$(srcdir)/config.sub \
|
|
|
|
$(srcdir)/config.h.in \
|
|
|
|
$(srcdir)/config.h.in~ \
|
|
|
|
$(srcdir)/compile \
|
|
|
|
$(srcdir)/ltmain.sh \
|
|
|
|
$(srcdir)/missing \
|
|
|
|
$(srcdir)/aclocal.m4 \
|
|
|
|
$(srcdir)/install-sh
|