1 # not a GNU package. You can remove this line, if
2 # have all needed files, that a GNU package needs
3 AUTOMAKE_OPTIONS = gnu 1.6
5 # make sure we pass the correct jimtcl flags to distcheck
6 DISTCHECK_CONFIGURE_FLAGS = --with-jim-ext=nvp --disable-lineedit
8 nobase_dist_pkgdata_DATA = \
9 contrib/libdcc/dcc_stdio.c \
10 contrib/libdcc/dcc_stdio.h \
11 contrib/libdcc/example.c \
12 contrib/libdcc/README \
33 libtool: $(LIBTOOL_DEPS)
34 $(SHELL) ./config.status --recheck
36 docs: pdf html doxygen
38 Doxyfile: $(srcdir)/Doxyfile.in
39 @echo "Creating $@ from $<..."
41 echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
42 echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
43 sed -e 's,@srcdir\@,$(srcdir),' \
44 -e 's,@builddir\@,$(builddir),' \
45 -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \
46 -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \
49 THE_MANUAL = doxygen/latex/refman.pdf
53 doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
54 @if [ -f doxygen/latex/refman.tex ]; then \
55 echo "Creating $(THE_MANUAL)..."; \
56 $(MAKE) $(THE_MANUAL); \
58 echo "Skipping Doxygen PDF..."; \
61 $(THE_MANUAL): %.pdf: %.tex
62 -cd $$(dirname $*) && pdflatex $$(basename $*)
63 -cd $$(dirname $*) && pdflatex $$(basename $*)
66 # command to find paths of script files, relative to TCL_PATH
67 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
68 sed -e 's,^$(srcdir)/$(TCL_PATH),,'
71 for i in $$($(TCL_FILES)); do \
72 j="$(distdir)/$(TCL_PATH)/$$i" && \
73 mkdir -p "$$(dirname $$j)" && \
74 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
78 for i in $$($(TCL_FILES)); do \
79 j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
80 mkdir -p "$$(dirname $$j)" && \
81 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
85 rm -rf $(DESTDIR)$(pkgdatadir)/scripts
88 rm -rf Doxyfile doxygen
89 rm -f $(srcdir)/jimtcl/configure.gnu
91 DISTCLEANFILES = doxygen.log
93 MAINTAINERCLEANFILES = \
96 $(srcdir)/Makefile.in \
98 $(srcdir)/config.guess \
99 $(srcdir)/config.sub \
100 $(srcdir)/config.h.in \
101 $(srcdir)/config.h.in~ \
103 $(srcdir)/ltmain.sh \
105 $(srcdir)/aclocal.m4 \