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 \
27 libtool: $(LIBTOOL_DEPS)
28 $(SHELL) ./config.status --recheck
30 docs: pdf html doxygen
32 Doxyfile: $(srcdir)/Doxyfile.in
33 @echo "Creating $@ from $<..."
35 echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
36 echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
37 sed -e 's,@srcdir\@,$(srcdir),' \
38 -e 's,@builddir\@,$(builddir),' \
39 -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \
40 -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \
43 THE_MANUAL = doxygen/latex/refman.pdf
47 doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
48 @if [ -f doxygen/latex/refman.tex ]; then \
49 echo "Creating $(THE_MANUAL)..."; \
50 $(MAKE) $(THE_MANUAL); \
52 echo "Skipping Doxygen PDF..."; \
55 $(THE_MANUAL): %.pdf: %.tex
56 -cd $$(dirname $*) && pdflatex $$(basename $*)
57 -cd $$(dirname $*) && pdflatex $$(basename $*)
60 # command to find paths of script files, relative to TCL_PATH
61 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
62 sed -e 's,^$(srcdir)/$(TCL_PATH),,'
65 for i in $$($(TCL_FILES)); do \
66 j="$(distdir)/$(TCL_PATH)/$$i" && \
67 mkdir -p "$$(dirname $$j)" && \
68 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
72 for i in $$($(TCL_FILES)); do \
73 j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
74 mkdir -p "$$(dirname $$j)" && \
75 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
79 rm -rf $(DESTDIR)$(pkgdatadir)/scripts
83 rm -rf Doxyfile doxygen
85 DISTCLEANFILES = doxygen.log
87 MAINTAINERCLEANFILES = \
90 $(srcdir)/Makefile.in \
92 $(srcdir)/config.guess \
93 $(srcdir)/config.sub \
94 $(srcdir)/config.h.in \
95 $(srcdir)/config.h.in~ \
99 $(srcdir)/aclocal.m4 \