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 \
18 libtool: $(LIBTOOL_DEPS)
19 $(SHELL) ./config.status --recheck
21 docs: pdf html doxygen
23 Doxyfile: $(srcdir)/Doxyfile.in
24 @echo "Creating $@ from $<..."
26 echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
27 echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
28 sed -e 's,@srcdir\@,$(srcdir),' \
29 -e 's,@builddir\@,$(builddir),' \
30 -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \
31 -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \
34 THE_MANUAL = doxygen/latex/refman.pdf
38 doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
39 @if [ -f doxygen/latex/refman.tex ]; then \
40 echo "Creating $(THE_MANUAL)..."; \
41 $(MAKE) $(THE_MANUAL); \
43 echo "Skipping Doxygen PDF..."; \
46 $(THE_MANUAL): %.pdf: %.tex
47 -cd $$(dirname $*) && pdflatex $$(basename $*)
48 -cd $$(dirname $*) && pdflatex $$(basename $*)
51 # command to find paths of script files, relative to TCL_PATH
52 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
53 sed -e 's,^$(srcdir)/$(TCL_PATH),,'
56 for i in $$($(TCL_FILES)); do \
57 j="$(distdir)/$(TCL_PATH)/$$i" && \
58 mkdir -p "$$(dirname $$j)" && \
59 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
63 for i in $$($(TCL_FILES)); do \
64 j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
65 mkdir -p "$$(dirname $$j)" && \
66 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
70 rm -rf $(DESTDIR)$(pkgdatadir)/scripts
74 rm -rf Doxyfile doxygen
76 DISTCLEANFILES = doxygen.log
78 MAINTAINERCLEANFILES = \
81 $(srcdir)/Makefile.in \
83 $(srcdir)/config.guess \
84 $(srcdir)/config.sub \
85 $(srcdir)/config.h.in \
86 $(srcdir)/config.h.in~ \
90 $(srcdir)/aclocal.m4 \