From: yamaoka Date: Thu, 24 Mar 2005 09:43:05 +0000 (+0000) Subject: Synch to No Gnus 200503240914. X-Git-Tag: t-gnus-6_17_4-quimby-~522 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4ec629848e666fe21194bc97f84d15544dd3a380;p=elisp%2Fgnus.git- Synch to No Gnus 200503240914. --- diff --git a/texi/ChangeLog b/texi/ChangeLog index b06a3e7..5586848 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,15 @@ +2005-03-23 Reiner Steib + + * Makefile.in (gnus-faq-full-update, gnus-faq-clean) + (gnus-faq.texi): New targets. + (distclean): Remove some gnus-faq.* files. + + * xml2texi.sh: Mention requirements. + + * xml2texi.scm (boilerplate): Add "Do not modify ...". + + * gnus-faq.texi: Generated. + 2005-03-22 Reiner Steib * gnus-faq.texi: Generated from gnus-faq.xml using xml2texi.*. diff --git a/texi/Makefile.in b/texi/Makefile.in index 98c65a0..91c4d05 100644 --- a/texi/Makefile.in +++ b/texi/Makefile.in @@ -129,6 +129,25 @@ booklet.pdf: booklet.tex gnuslogo-refcard.eps gnusref.tex mv bk-lt.pdf booklet.pdf ;\ fi +gnus-faq-full-update: gnus-faq-clean gnus-faq.texi + +gnus-faq.xml: + cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnus \ + co -p gnus-faq/src/gnus-faq.xml > $@.tmp + head -n 1 $@.tmp | grep '^<.xml version' || \ + { echo "Update of $@ failed."; : rm $@.tmp; exit 1; } + mv $@.tmp $@ + +gnus-faq.texi: gnus-faq.xml + ./xml2texi.sh $< $@.tmp + @echo +# FIXME: This should be done in xml2texi.scm or gnus-faq.xml should be +# changed: + sed '/\$$Id: Makefile.in,v 7.12 2005/03/24 09:14:37 miles Exp $$/d' < $@.tmp > $@ + +gnus-faq-clean: + rm -f gnus-faq.xml gnus-faq.*.tmp gnus-faq.texi + clean: rm -f *.[cgk]idx *.aux *.cp *.cps *.dvi *.dvi-x *.fn *.ky \ *.kys *.latexi *.log *.orig *.pdf *.pdf-x *.pg *.rej \ @@ -233,6 +252,7 @@ distclean: veryclean rm -f gnus-ja.info-[0-9] gnus-ja.info-[0-9][0-9] message-ja.info-[0-9] rm -f $(INFO_DEPS_JA) $(INFO_DEPS_INFO) $(INFO_DEPS_JA_INFO) rm -f gnusconfig.tex + rm -f gnus-faq.xml gnus-faq.*.tmp install: $(INFO_DEPS) $(SHELL) $(top_srcdir)/mkinstalldirs $(infodir) diff --git a/texi/gnus-faq.texi b/texi/gnus-faq.texi index 29553fb..7bab196 100644 --- a/texi/gnus-faq.texi +++ b/texi/gnus-faq.texi @@ -2,9 +2,14 @@ @c Uncomment 1st line before texing this file alone. @c %**start of header @c Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +@c +@c Do not modify this file, it was generated from gnus-faq.xml, available from +@c . +@c @setfilename gnus-faq.info @settitle Frequently Asked Questions @c %**end of header +@c @node Frequently Asked Questions @section Frequently Asked Questions diff --git a/texi/xml2texi.scm b/texi/xml2texi.scm index de68c37..b2a6161 100644 --- a/texi/xml2texi.scm +++ b/texi/xml2texi.scm @@ -78,9 +78,14 @@ @c Uncomment 1st line before texing this file alone.~%\ @c %**start of header~%\ @c Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.~%\ +@c~%\ +@c Do not modify this file, it was generated from gnus-faq.xml, available from~%\ +@c .~%\ +@c~%\ @setfilename gnus-faq.info~%\ @settitle ~A~%\ @c %**end of header~%\ +@c~%\ " titel))) ;; Inserted right before the end of the file diff --git a/texi/xml2texi.sh b/texi/xml2texi.sh index e40e770..779de36 100644 --- a/texi/xml2texi.sh +++ b/texi/xml2texi.sh @@ -25,7 +25,20 @@ exec mzscheme -mr $0 ${1+"$@"} ;; Boston, MA 02111-1307, USA. ;;; Commentary: +;; +;; Requirements: +;; +;; To run this scheme program you need MzScheme and DrScheme. +;; +;; Some URLs: +;; http://www.plt-scheme.org/software/mzscheme/ +;; http://www.drscheme.org/ +;; http://www.plt-scheme.org/software/ ;; +;; ,----[ http://www.plt-scheme.org/license/ ] +;; | PLT software is distributed under the +;; | GNU Lesser General Public License (LGPL). +;; `---- ;;; Code: @@ -42,7 +55,7 @@ exec mzscheme -mr $0 ${1+"$@"} (set! +in+ in)) (("-o" "--output") out "Name of output file (default gnus-faq.texi)" (set! +out+ out)) - (("-l" "--library") lib "Name of Scheme library to load (default faqxml2texi.scm)" + (("-l" "--library") lib "Name of Scheme library to load (default xml2texi.scm)" (set! +scmfile+ lib))) (help-labels "The first (or only) remaining argument is used as the name of the Input file" "The second argument is used as the name of the Output file")