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 nobase_dist_pkgdata_DATA = \
6 contrib/libdcc/dcc_stdio.c \
7 contrib/libdcc/dcc_stdio.h \
8 contrib/libdcc/example.c \
9 contrib/libdcc/README \
24 libtool: $(LIBTOOL_DEPS)
25 $(SHELL) ./config.status --recheck
27 docs: pdf html doxygen
29 Doxyfile: $(srcdir)/Doxyfile.in
30 @echo "Creating $@ from $<..."
32 echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
33 echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
34 sed -e 's,@srcdir\@,$(srcdir),' \
35 -e 's,@builddir\@,$(builddir),' \
36 -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \
37 -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \
40 THE_MANUAL = doxygen/latex/refman.pdf
44 doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
45 @if [ -f doxygen/latex/refman.tex ]; then \
46 echo "Creating $(THE_MANUAL)..."; \
47 $(MAKE) $(THE_MANUAL); \
49 echo "Skipping Doxygen PDF..."; \
52 $(THE_MANUAL): %.pdf: %.tex
53 -cd $$(dirname $*) && pdflatex $$(basename $*)
54 -cd $$(dirname $*) && pdflatex $$(basename $*)
57 # command to find paths of script files, relative to TCL_PATH
58 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
59 sed -e 's,^$(srcdir)/$(TCL_PATH),,'
62 for i in $$($(TCL_FILES)); do \
63 j="$(distdir)/$(TCL_PATH)/$$i" && \
64 mkdir -p "$$(dirname $$j)" && \
65 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
69 for i in $$($(TCL_FILES)); do \
70 j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
71 mkdir -p "$$(dirname $$j)" && \
72 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
76 rm -rf $(DESTDIR)$(pkgdatadir)/scripts
80 rm -rf Doxyfile doxygen
82 DISTCLEANFILES = doxygen.log
84 MAINTAINERCLEANFILES = \
87 $(srcdir)/Makefile.in \
89 $(srcdir)/config.guess \
90 $(srcdir)/config.sub \
91 $(srcdir)/config.h.in \
92 $(srcdir)/config.h.in~ \
96 $(srcdir)/aclocal.m4 \