From: Vadim V. Z. <vv...@us...> - 2007-02-21 10:52:42
|
Update of /cvsroot/maxima/maxima/doc/info/pt.utf8 In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20643 Modified Files: Makefile.am Removed Files: maxima.texi maximahtml_pt.mk Log Message: New build scheme for pt.utf8. maxima.texi and maximahtml.mk no longer required. Index: Makefile.am =================================================================== RCS file: /cvsroot/maxima/maxima/doc/info/pt.utf8/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Makefile.am 3 Feb 2007 22:01:38 -0000 1.9 +++ Makefile.am 21 Feb 2007 10:52:38 -0000 1.10 @@ -3,97 +3,49 @@ TEXINFO_TEX=../pt/texinfo.tex langsdir = /pt.utf8 - -info_TEXINFOS = maxima.texi +origlangsdir = ../pt if USE_RECODE urecode=true endif -fcharset = "ISO-8859-1" -tcharset = "UTF-8" +fcharset = ISO-8859-1 +tcharset = UTF-8 -all-local: maxima-index.lisp +fhtmlcharset = iso-8859-1 +thtmlcharset = utf-8 + +maxima.texi: $(origlangsdir)/maxima.texi + rm -f *.texi + cp -p $(origlangsdir)/*.texi . maxima-index.lisp: maxima.info ../build_index.pl perl ../build_index.pl maxima.info ':utf8' > maxima-index.lisp -maximahtml_pt.mk: ../texi2html - perl ../texi2html -split_chapter --lang=pt --output=. --css-include=../manual.css --init-file ../texi2html.init maxima.texi - rm -f maximahtml_pt.mk - ls -1 maxima*.html | sed 's/\(.*\)/MAXIMAHTML += \1/' > maximahtml_pt.mk - -MAXIMAHTML = -include maximahtml_pt.mk - -$(MAXIMAHTML): maxima.texi $(maxima_TEXINFOS) +maxima.html: maxima.texi + rm -f maxima*.html 2>/dev/null perl ../texi2html -split_chapter --lang=pt --output=. --css-include=../manual.css --init-file ../texi2html.init maxima.texi - perl ../create_index + for f in maxima*.html; do \ + if test x$(urecode) = xtrue ; then \ + recode $(fcharset)..$(tcharset) $$f ; \ + else \ + rm -f foo.$$f 2>/dev/null ; \ + iconv -f $(fcharset) -t $(tcharset) $$f > foo.$$f ; \ + mv -f foo.$$f $$f ; \ + fi; \ + done + for f in maxima*.html; do \ + rm -f foo.$$f 2>/dev/null ; \ + sed -e "s|charset=$(fhtmlcharset)|charset=$(thtmlcharset)|" < $$f > foo.$$f ; \ + mv -f foo.$$f $$f ; \ + done include $(top_srcdir)/common.mk genericdir = $(dochtmldir)/pt.utf8 -genericdirDATA = $(MAXIMAHTML)\ +genericdirDATA = \ contents.hhc index.hhk header.hhp -clean-local: clean-info clean-html - -clean-info: - rm -f maxima.info* - rm -f maxima-index.lisp - -clean-html: - rm -f maxima.html maxima_*.html - rm -f contents.hhc - rm -f index.hhk - -EXTRA_DIST = maximahtml_pt.mk header.hhp maxima-index.lisp $(genericdirDATA) - -maxima.info: maxima.texi - @rm -f $@ $@-[0-9] $@-[0-9][0-9] - $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ - -o $@ `test -f '$<' || echo '$(srcdir)/'`$< - for f in $@ $@-[0-9] $@-[0-9][0-9]; do \ - if test -f $$f; then \ - if test x$(urecode) = xtrue ; then \ - recode $(fcharset)..$(tcharset) $$f ; \ - else \ - rm -f foo.$$f 2>/dev/null ; \ - iconv -f $(fcharset) -t $(tcharset) $$f > foo.$$f ; \ - mv -f foo.$$f $$f ; \ - fi; \ - fi; \ - done - -install-info-am: $(INFO_DEPS) maxima-index.lisp - test -z "$(infodir)$(langsdir)" || mkdir -p -- "$(DESTDIR)$(infodir)$(langsdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - list='$(INFO_DEPS)'; \ - for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - esac; \ - if test -f $$file; then d=.; else d=$(srcdir); fi; \ - file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \ - for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ - $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ - if test -f $$ifile; then \ - relfile=`echo "$$ifile" | sed 's|^.*/||'`; \ - echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)$(langsdir)/$$relfile'"; \ - $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)$(langsdir)/$$relfile"; \ - else : ; fi; \ - done; \ - done - $(INSTALL_DATA) maxima-index.lisp "$(DESTDIR)$(infodir)$(langsdir)/maxima-index.lisp" +EXTRA_DIST = maxima-index.lisp $(genericdirDATA) -uninstall-info-am: - @list='$(INFO_DEPS)'; \ - for file in $$list; do \ - relfile=`echo "$$file" | sed 's|^.*/||'`; \ - relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ - (if cd "$(DESTDIR)$(infodir)$(langsdir)"; then \ - 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]"; \ - rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ - else :; fi); \ - done - rm -f "$(DESTDIR)$(infodir)$(langsdir)/maxima-index.lisp" +include ../common-lang-recode.mk --- maxima.texi DELETED --- --- maximahtml_pt.mk DELETED --- |