1 info_TEXINFOS
= maxima.texi
3 all-local
: maxima-index.lisp maxima-index-html.lisp index.html
5 maxima-index.lisp
: maxima.
info $(srcdir)/..
/build_index.pl
6 /usr
/bin
/env perl
$(srcdir)/..
/build_index.pl maxima.
info ':crlf' > maxima-index.lisp
8 # Really depends on all the individual html files, but let's assume
9 # that if index.html is done, we have all the remaining html
12 # Load build-html-index.lisp and run the builder to create
13 # maxima-index-html.lisp. In a clean directory, there won't be a
14 # maxima-index-html.lisp, so we don't want to try to verify the html
15 # index to prevent spurious warnings. Then after it's done, run
16 # maxima to verify the index.
17 maxima-index-html.lisp
: index.html
$(top_srcdir
)/doc
/info/build-html-index.lisp
18 MAXIMA_LANG_SUBDIR
=$(lang
) $(top_builddir
)/maxima-local
--no-init
--no-verify-html-index
--preload
=$(top_srcdir
)/doc
/info/build-html-index.lisp
--batch-string
='build_and_dump_html_index("./*.html", "$(lang)");'
19 MAXIMA_LANG_SUBDIR
=$(lang
) $(top_builddir
)/maxima-local
--no-init
--batch-string
="quit();"
21 maxima_singlepage.html index.html
: maxima.texi
$(maxima_TEXINFOS
) $(figurefiles
) $(top_srcdir
)/doc
/info/manual.css
$(top_srcdir
)/doc
/info/texi2html.init
22 ..
/build_html.sh
-l
$(lang
)
24 maxima.pdf
: maxima.texi
$(maxima_TEXINFOS
)
25 $(TEXI2PDF
) $(AM_V_texinfo
) -I
$(srcdir)/..
-o maxima.pdf
$(srcdir)/maxima.texi
26 rm -f maxima.fns maxima.vr maxima.tp maxima.pg maxima.ky maxima.cp \
27 maxima.toc maxima.fn maxima.aux maxima.log maxima.vrs
29 include $(top_srcdir
)/common.mk
31 # The basename for the html files for the manual. Since we don't
32 # rename the html files, the html file names can basically have any
35 htmlinstdir
= $(dochtmldir
)$(langsdir
)
36 include $(top_srcdir
)/common-html.mk
38 clean-local
: clean-info clean-html
43 rm -f maxima-index.lisp
44 rm -f maxima-index-html.lisp
49 EXTRA_DIST
= maxima-index.lisp maxima-index-html.lisp
$(genericdirDATA
) index.html
52 install-info-am
: $(INFO_DEPS
) maxima-index.lisp maxima-index-html.lisp
53 test -z
"$(infodir)$(langsdir)" || mkdir
-p
-- "$(DESTDIR)$(infodir)$(langsdir)"
54 @srcdirstrip
=`echo "$(srcdir)" | sed 's|.|.|g'`; \
55 list
='$(INFO_DEPS)'; \
56 for file in
$$list; do \
58 $(srcdir)/*) file
=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
60 if
test -f
$$file; then d
=.
; else d
=$(srcdir); fi
; \
61 file_i
=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
62 for ifile in
$$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
63 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
64 if
test -f
$$ifile; then \
65 relfile
=`echo "$$ifile" | sed 's|^.*/||'`; \
66 echo
" $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)$(langsdir)/$$relfile'"; \
67 $(INSTALL_DATA
) "$$ifile" "$(DESTDIR)$(infodir)$(langsdir)/$$relfile"; \
71 $(INSTALL_DATA
) maxima-index.lisp
"$(DESTDIR)$(infodir)$(langsdir)/maxima-index.lisp"
72 $(INSTALL_DATA
) maxima-index-html.lisp
"$(DESTDIR)$(infodir)$(langsdir)/maxima-index-html.lisp"
75 @list
='$(INFO_DEPS)'; \
76 for file in
$$list; do \
77 relfile
=`echo "$$file" | sed 's|^.*/||'`; \
78 relfile_i
=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
79 (if cd
"$(DESTDIR)$(infodir)$(langsdir)"; then \
80 echo
" cd '$(DESTDIR)$(infodir)$(langsdir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
81 rm -f
$$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
84 rm -f
"$(DESTDIR)$(infodir)$(langsdir)/maxima-index.lisp"
85 rm -f
"$(DESTDIR)$(infodir)$(langsdir)/maxima-index-html.lisp"