]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.2.5.jcn1
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 3 Sep 1999 13:39:23 +0000 (15:39 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 3 Sep 1999 13:39:23 +0000 (15:39 +0200)
pl 5.jcn1
- lily.scm: don't use regex-substitute/global
- try at tutorial explain environment/macro
- website/doco fixes
- bf: package-diff.py

20 files changed:
CHANGES
Documentation/index.yo
Documentation/tex/GNUmakefile
Documentation/tex/feta.tex
Documentation/tex/mudela-book-test.doc
Documentation/tex/reference-manual.tely
Documentation/tex/regression-test.tely
Documentation/tex/tutorial.tely
Documentation/topdocs/index.tely
VERSION
ps/lily.ps
scm/lily.scm
stepmake/CHANGES [new file with mode: 0644]
stepmake/NEWS
stepmake/bin/add-html-footer.py
stepmake/bin/ls-latex.py
stepmake/bin/package-diff.py
stepmake/make/toplevel.make.in
stepmake/stepmake/texinfo-rules.make
stepmake/stepmake/yolily-topdoc-targets.make

diff --git a/CHANGES b/CHANGES
index 2f0e5efd8d4db9e078230183364b66151bfffffe..31fd1c273a32730501e10550abf9cabe8143cbd3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,9 @@
+pl 5.jcn1
+       - lily.scm: don't use regex-substitute/global 
+       - try at tutorial explain environment/macro
+       - website/doco fixes
+       - bf: package-diff.py
+
 pl 4.hwn1
        - bf: repeats.
        - bf: mmrests
index 4eb4dd7692501f083a8b6ab946c0a265fa2e1dd0..dff3395c082fbdaffe14ae42c24e836b777818ec 100644 (file)
@@ -1,17 +1,12 @@
 DEFINEMACRO(tops)(0)(../topdocs/DOEXPAND(outdir))
 DEFINEMACRO(pics)(0)(../pictures/DOEXPAND(outdir))
 
-nsect(NAME)
-
-The Documentation of LilyPond -- the GNU Project music typesetter
-
-nsect(DESCRIPTION)
+nsectLilyPond Documentation)
 
 Note: These pages are created from the latest bf(development snapshots)
 of LilyPond.  You can look at the bottom if you want to know which
 version this was.
 
-
 nsubsect(Documentation: Introduction)
 
 itemize(
@@ -34,6 +29,7 @@ it()url(The lilypond
 nsubsect(Documentation: manuals)
 
 
+COMMENT(Reference manual/regtest stuffed away too deep)
 itemize(
 it()url(User documentation)(../tex/DOEXPAND(outdir)/index.html)
 it()url(Hacker documentation)(../metadoc/DOEXPAND(outdir)/index.html)
index fd0723e714acc873b62874a54d5e760d84215a99..e64c881ecc73329e340e905f6f0c81f61dceac39 100644 (file)
@@ -9,10 +9,8 @@ DOC_FILES = $(wildcard *.doc)
 
 DVI_FILES = $(addprefix $(outdir)/,$(DOC_FILES:.doc=.dvi)  $(TELY_FILES:.tely=.dvi))
 
-
-
-OUTDOC_FILES = $(addprefix $(outdir)/, $(DOC_FILES))
-OUTTEX_FILES = $(addprefix $(outdir)/, $(TEX_FILES))
+#OUTDOC_FILES = $(addprefix $(outdir)/, $(DOC_FILES))
+#OUTTEX_FILES = $(addprefix $(outdir)/, $(TEX_FILES))
 
 EXTRA_DIST_FILES= $(DOC_FILES) $(DATA_FILES) $(EL_FILES) $(TEX_FILES) testje.fly
 HTML_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.html))
@@ -50,11 +48,9 @@ $(outdir)/%.latex: %.data $(depth)/VERSION
 
 
 
-
-
-local-WWW: $(HTML_FILES) $(OUTDOC_FILES:.doc=.ps.gz) $(OUTTEX_FILES:.tex=.ps.gz)   $(datafiles)
+local-WWW: $(HTML_FILES) $(DVI_FILES:.dvi=.ps.gz) $(datafiles)
        $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'LaTeX documents about LilyPond' \
-          $(DOC_FILES) $(TEX_FILES)\
+          $(DOC_FILES) $(TEX_FILES) $(TELY_FILES) $(TEXI_FILES)\
          | sed "s!$(outdir)/!!g" > $(outdir)/index.html
          $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html
 
index a65e6dd8888270ea9cca13373f6c2823c5a9ad61..a8815e7f64df43d1b15f8b80d17ebd12ef52ddc5 100644 (file)
@@ -1,6 +1,14 @@
 % display all feta chars in a pretty picture
 % GNU LilyPond
 % (c) 1998 Jan Nieuwenhuizen <janneke@gnu.org>
+%
+% urg: fool ls-latex
+\def\urg{
+\title{The Feta font}
+\author{JCN}
+\begin{document}
+}
+
 
 \parindent0pt
 \nopagenumbers
index 05c65ab914f9c00cfea3eae713ca381b1dbc0d8e..b679830542e01ed1fa10b9161e3fa2bc9ba9869c 100644 (file)
@@ -1,4 +1,6 @@
 \documentclass{article}
+\title{Mudela-book test}
+\author{HWN}
 
 \begin{document}
 
index f8a4f3b28f395e9448762f77170b9843d33a2fc5..a34e68d7ea84b4442eb6303ab37f1586ba0dedfd 100644 (file)
@@ -2,6 +2,13 @@
 @setfilename reference-manual.info
 @settitle LilyPond 1-2-0 Reference Manual
 
+@c ls-latex
+@ignore
+@author Adrian Mariano, Han-Wen Nienhuys and Jan Nieuwenhuizen
+@title LilyPond Regression test
+@end ignore
+
+
 @ifinfo
 
 This is the reference documentation to LilyPond.  It is not a tutorial.
index 9f9d06bcbff6094c61851e92250fea39c073cc31..f0fc7f15ad111be9cb87b21751727380dbc1fa1f 100644 (file)
@@ -2,6 +2,12 @@
 @setfilename regression-test.info
 @settitle LilyPond Regression test
 
+@c fool ls-latex
+@ignore
+@author Han-Wen Nienhuys and Jan Nieuwenhuizen
+@title LilyPond Regression test
+@end ignore
+
 @node Top, , , 
 
 This document tries give an brief overview of LilyPond features.  When
index 23ad4c3dfc37a6b226e9c3e539eca339f1eae7f6..934e3a248a8778d5072821d8eb9bb84ded1f1192 100644 (file)
@@ -1,7 +1,19 @@
-\\input texinfo @c -*-texinfo-*-
+\input texinfo @c -*-texinfo-*- vim:textwidth=72:expandtab
 @setfilename tutorial.info
 @settitle Typesetting music with LilyPond
 
+@ignore
+macros don't work (yet?) --jcn
+@macro explain{line,explanation}
+@multitable @columnfractions .60 .39
+@item
+@noindent
+@exdent @code{\line\}
+@tab
+\explanation\
+@end multitable
+@end macro
+@end ignore
 
 @ifinfo
 
@@ -11,7 +23,15 @@ tutorial.  It was written by Han-Wen Nienhuys.
 Copyright 1999 by its authors.
 @end ifinfo
 
+
 @titlepage
+
+@c fool ls-latex: why not use these, for texinfo??
+@ignore
+@author Han-Wen Nienhuys
+@title Typesetting music with LilyPond
+@end ignore
+
 @sp 10
 @comment The title is printed in a large font.
 @center @titlefont{LilyPond tutorial}
@@ -128,14 +148,31 @@ If all goes well, the file @file{menuet.dvi} will be created.
 To view this output, issue the command `@code{xdvi menuet}'.
 
 Now that we are familiar with the procedure of producing output, we
-will analyse the input, line by line.@example 
+will analyse the input, line by line.
+@ignore
+Let's try to redo this
+@example
 
         % lines preceded by a percent are comments.
  
 @end example 
 The percent sign, `@code{%}', introduces a line comment.  If you want to
 make larger comments, you can use block comments. These are delimited
-by `@code{%@{}' and `@code{%@}}'@example 
+by `@code{%@{}' and `@code{%@}}'
+@end ignore
+@multitable @columnfractions .60 .39
+@item
+@noindent
+@c @example  urg: no tt font
+@c @exdent % lines preceded by a percent are comments.
+@exdent @code{% lines preceded by a percent are comments.}
+@c @end example
+@tab
+The percent sign, `@code{%}', introduces a line comment.  If you
+want to make larger comments, you can use block comments. These
+are delimited by `@code{%@{}' and `@code{%@}}'
+@end multitable
+@example 
 
         \input "paper16.ly"
  
index 253c68c3d013a4781cfca9d3a76a1cec21c17e42..fcc04fa8d01a6944ab6acf27ba6cd1718abe12a9 100644 (file)
@@ -9,11 +9,13 @@
 
 @unnumbered LilyPond -- The @uref{http://www.fsf.org/gnu/gnu-history.html,GNU Project} Music Typesetter
 
+@center
 @quotation
 @mudela[fragment]
        \relative c'' { \key es; r8 [c16 b] [c8 g] [as c16 b] [c8 d] | g,4 }
 @end mudela 
 @end quotation
+@end center
 
 @c include BLURB?
 
@@ -25,7 +27,7 @@ the GNU Project.
 
 
 
-@unnumberedsec View sheet music
+@unnumberedsec Sheet music
     
 
 @itemize @bullet
@@ -44,6 +46,7 @@ LilyPond handling real music.  MIDI, view PNG, PostScript, and Source.
 
 @itemize @bullet
 @item @uref{Documentation/tex/out-www/tutorial.html,Tutorial}
+@item @uref{Documentation/tex/out-www/reference-manual.html,Tutorial}
 @item @uref{Documentation/out-www/faq.html,FAQ}
 @item @uref{Documentation/out-www/mail.html,Mailing Lists}
 @item @uref{Documentation/out-www/index.html,All of the LilyPond documentation}
diff --git a/VERSION b/VERSION
index e752f734ffde5ad71310888339ca2389ca8ba626..19b79a7fc20e7015422e338b210916af8c89442d 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=2
 PATCH_LEVEL=5
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index b25deb22b24015b1469201187f65550c7fc2b399..a7ea49cc37178b402f5c40235c5bac811d545744 100644 (file)
@@ -3,8 +3,8 @@
 % 2 setlanguagelevel %  hmm. auto_resize_dicts doesn't help either. 
 % round cappings
 1 setlinecap
-
-
+%
+%
 /draw_beam % width slope thick
 {
         2 div /beam_thick exch def
         0 beam_thick lineto
         closepath fill
 } bind def
-
+%
 /draw_decrescendo %  width height cons thick
 {
        setlinewidth
        /cresc_cont exch def
        /cresc_ht exch def
        /cresc_wd exch def
-
+%
        cresc_wd cresc_cont moveto
        0 cresc_ht lineto
        stroke
        0 cresc_ht neg lineto
        stroke
 } bind def
-
+%
 /draw_crescendo % width height cons thick
 {
        setlinewidth
        /cresc_cont exch def
        /cresc_ht exch def
        /cresc_wd exch def
-
+%
        0 cresc_cont moveto
        cresc_wd cresc_ht lineto
        stroke
        cresc_wd cresc_ht neg lineto
        stroke
 } bind def
-
+%
 /lily_distance 
 {
        1 copy mul exch 1 copy mul add sqrt
 } bind def
-
+%
 /draw_tuplet % height gap dx dy thick dir
 {
 % urg: the only Level-2 PS, check effect in print
@@ -66,8 +66,8 @@
        /tuplet_gapx exch def
        /tuplet_h exch def
        tuplet_dy tuplet_dx div tuplet_gapx mul /tuplet_gapy exch def
-
-
+%
+%
        0 0 moveto
        0 tuplet_h dir mul lineto 
        tuplet_dx tuplet_gapx sub 2 div 
@@ -78,7 +78,7 @@
        tuplet_dx tuplet_dy lineto
        stroke
 } bind def
-
+%
 /draw_volta % h w thick vert_start vert_end
 {
        /vert_end exch def
        } if
        stroke
 } bind def
-
+%
 % this is for drawing slurs.
 /draw_bezier_sandwich  % thickness 
 {
        grestore
        stroke
 } bind def
-
+%
 /draw_dashed_slur
 {
        1 setlinecap
        curveto
        stroke
 } bind def
-
-
-
+%
+%
+%
 /bracket_traject
 {
   /traject_ds exch def
   traject_ds traject_alpha cos mul add
   exch
 } bind def
-
-
-
+%
+%
+%
 /half_bracket
 {
 %6
 %1
        0 0
 } bind def
-
+%
 /draw_half_bracket {
        moveto
        lineto
        fill
        grestore
 } bind def
-
+%
 /draw_bracket % height
 {
        2 div bracket_b add /bracket_h exch def
        draw_half_bracket
        stroke
 } bind def
-
+%
index cba847f06be1b1457fde1209bc4dc6cce5b5ac32..51c41b490c507572c674735bf70ee76aaa54a2e3 100644 (file)
   (define (header-end)
     (string-append
      "\\special{! "
-     (regexp-substitute/global #f "\n" (ly-gulp-file "lily.ps") 'pre " %\n" 'post)
+     ;(regexp-substitute/global #f "\n" (ly-gulp-file "lily.ps") 'pre " %\n" 'post)
+     (ly-gulp-file "lily.ps")
      "}"
      "\\input lilyponddefs \\turnOnPostScript"))
 
diff --git a/stepmake/CHANGES b/stepmake/CHANGES
new file mode 100644 (file)
index 0000000..a718863
--- /dev/null
@@ -0,0 +1,380 @@
+pl 80
+       - use mgsmerge iso tupdate
+
+pl 79
+       - empty sed script fix for aix
+
+pl 78
+       - yodl mode, mp fixes
+
+pl 77
+       - mfmode
+
+pl 76
+       - bfs: shells, scripts
+
+pl 75
+       - bfs: release
+
+pl 74
+       - avoid buggy /bin/sh on hp-ux
+       - bf: make/stepmake.make
+       - simple prolog support
+
+pl 73
+       - bf: invoke sed only once
+
+pl 72
+       - bf: mfplain dependency
+       - inimf, inimf checking (sigh)
+
+pl 71
+       - bf: c-tags
+       - yodl: groff, ditroff
+
+pl 70
+       - GUILE config fixes (AF)
+
+pl 69
+       - package_depth detection fix
+
+pl 68
+       - support for install-libraries
+
+pl 66
+       - check for tbl and gmake
+
+pl 65
+       - unix style pathsep/dirsep for cygwin
+
+pl 64
+       - gcc-2.8/egcs
+
+pl 63
+       - CFLAGS from yodl debian patch
+
+pl 62
+       - fixed dist from subdirs
+       - junked stepmake/aclocal.m4 (again?)
+       - resurrected po stuff
+
+pl 61
+       - bf: package-diff
+
+pl 60
+       - small fixes.
+
+pl 59
+       - bf: package-diff (remove missing automatic)
+       - install templates, (urg) INSTALL*1,2 INSTALL_OUT*1,2
+
+pl 58
+       - distribute formatted txt files: no yodl needed for operation!
+       - guile 1.2 and 1.3 support
+
+pl 57
+       - yodl first build script fixes
+       - uninstall fixes, but, urg, still have to uninstall twice
+         to get rid of all subdirs
+       - installed stepmake
+         * install not required
+         * only installs on explicit make install from toplevel stepdir
+         * rather urg, 'make dist' needs absolute distdir!
+
+pl 56
+       - crude metapost stuff
+
+pl 55
+       - table-to-html stuff moved .
+
+pl 54
+       - && for TeX
+
+pl 53
+       - moved TeX stuff into tex template
+
+pl 52
+       - striproff
+       - reeable $(PACKAGE)_LIBES,_INCLUDES
+       - metafont rules
+       - GTK+, --, -draw config stuff
+
+pl 51
+       - bumped version nr
+
+pl 50
+       - bf's: PATHSEP
+       - png
+
+pl 49
+       - use yodl2ms and striproff for txt conversion
+       - bf: chmod fail
+
+pl 48
+       - bumped version for yodl after various (lily pl7) changes
+
+pl 47
+       - bf: patch in website after 'make release'
+       - windows ln -> cp
+       - bf: texinfo build
+
+pl 46
+       - bf: versioning typo: topleveL_MAJOR
+       - bf: reincluded optional STATE-VECTOR
+pl 45
+       - Foo_rules.make -> foo-rules.make
+
+pl 44
+       - split: Toplevel.make, debian/Makefile, Documentation/topdocs/Makefile
+
+pl 43
+       - grand split up in targets/rules/variables.  The vars should be before rules!!
+pl 42
+       - fake-msgfmt.sh; urg copied from fake-yodl
+
+pl 41
+       - standard naming: _FILES
+       - use install-sh
+       - junked most check-X-deps
+       - standard naming: dir/out/library.a
+       - split C++ / C stuff in separate files.  Moved out of default stuff
+       - automake.yo updates
+       - fake-yodl.sh
+
+pl 40
+       - bf's: texinfo
+       - bf's: package-zip.sh for bash-2.0
+       - typo package-diff
+
+pl 39
+       - disabled toplevel index
+
+pl 38
+       - bf's: topweb, Documentation
+       - bf: ls-latex
+
+pl 37
+       - bf's: add-html-footer (ok, i've been reading /.)
+       
+pl 36.hwn1
+       - Metafont.make
+       - use := assignment for shell & wildcard stuff
+
+pl 36
+       - bf: Executable.make install
+
+pl 35
+       - bf: Po_rules
+       - grand foreach hack (HWN)
+
+pl 34
+       - stepmake/*shared.make
+
+pl 33
+       - make dist fix
+       - yodl/lily website fixes
+
+pl 32
+       - DEPTH: enable fixing of 'yodl using yodl'
+       - bf's: package-diff: --dir-* 
+
+pl 31.hwn1
+       - bf ls-latex.py; added format
+
+pl 31
+       - fixed make-flags
+       - fixup package-diff and added to-dir, from-dir
+
+pl 30.hwn2
+       - 
+
+pl 30.hwn1
+       - doc++ target  
+       - make -> $(MAKE)
+
+pl 30
+       - add-html-footer: html/body/title
+
+pl 29.hwn1
+       - automake.urgh -> automake.yo
+
+pl 29
+       - counter fix
+
+pl 28
+       - mini fix voor soladeris (HWN)
+       - add-html-footer fixes
+       - dropped pl
+
+pl 27
+       - irix fixes(?) (HWN)
+
+pl 26.jcn3
+       - update.py: try at stupid advice
+       - bf: ls-latex .yo author
+       - bf: Excutable.make install
+
+pl 26.jcn2
+       - no changes
+
+pl 26.hwn1
+       - no changes; just testin' make update
+
+pl 26.jcn1
+       - no changes
+
+pl 26
+       - make apply
+       - package-to.diff.gz
+       - package-from-to.diff.gz with state-vector
+       - state vector
+
+pl 25
+       - bf: add-html-footer.py: version_str iso tuple
+       - typo: Executable.make
+       - for 2latex: yodl2latex of yodl-1.30.0.pre9
+       - package depth 'detected' by configure (kinda ugh)
+       - fixes (HWN)
+
+pl 24
+       - binary releases:
+         * make deb
+           * dpkg 1.4.0.23.2
+           * debhelper 0.96
+           * /usr/bin/db_*: remove -p from install options (urg)
+         * make rpm
+         * make zip
+       - debian fixes
+       - SEXECUTABLES / EXECUTABLES (JBR)
+       - fixed package-zip.sh (again?)
+       - bf's: make zip
+       - some doco
+       - bf: STRIPFILES
+       - rpm from tarball in $(depth)/$(outdir)
+       - dropped lilypython, pythonblurb
+       - bf's: flower.py/packagepython.py/package-diff.py
+
+
+pl 23.hwn2
+       - add mailaddress to package-diff, beautifications
+
+pl 23.hwn1
+       - release.py: check make dist retval
+       - revamped rpm stuff. 
+       - bf abs-step-bindir
+
+
+pl 23
+       - relaxed 'error' to '-echo' for non-vital utilities
+       - table-to-html.py
+       - bin/stepdirs.sh
+       - bin/stepmakeise.sh
+       - --package-ised
+       - windows-nt fixes (JBR)
+
+pl 22
+       - new zip stuff
+
+pl 21
+       - packagepythonified add-html-footer, ls-latex
+       - packagepython (dankje lieverd)
+       - LD
+       - bf: don't diff .pyc
+       - yodl2 -> YODL2
+       - AC_STEPMAKE_YODL
+       - vars: GCC/TROFF/LD
+
+pl 20
+       - bf: ls-latex: .yo author + title
+       - htmldoc fix
+       - ls-latex
+       - add-html-footer
+       - po stuff
+       - latex + bibtex
+       - latex2yodl fixes
+
+pl 19
+       - add htmlfooter to all yodl chapter files
+       - .latex for latex files
+       - tex2html -> latex2html.sh
+
+pl 18
+       - package-zet.sh
+       - cleaned-out configure -> aclocal.m4
+       - (step)make targets:
+         * diff
+         * help
+         * rpm
+         * zip
+       - tex2yodl.pl helper
+       - patches are now called $package-$TOPLEVEL_VERSION.diff
+       - fixed @FILE@ and @VAR@ substitute
+       - bf: DO_CXX_COMPILE
+
+pl 17
+       - C rules :-)
+       - bf's Template.make
+
+pl 16
+       - more lily macros -> generic stepmake
+       - dropped POD configuration
+       - used it
+       - pod2yodl: one time conversion helper
+
+pl 15
+       - fixes: texi2man
+
+pl 14
+       - text2html
+
+pl 13
+       - texinfo support
+       - removed mudela rules
+
+pl 12
+       - irix patch
+
+pl 11
+       - 'urg comment' by wendy
+       - python fixes
+
+pl 10
+       - more from lily
+       - sed-stuff
+
+pl 9
+       - configure fix for irix tr
+       - bf: Install_*.make
+       - bf: PACKAGE_ ROOTDIR
+
+pl 8
+       - some python stuff from lily
+
+pl 7
+       - PACKAGE_NAME
+       - BLURB
+       - INSTALL doco
+       - Documentation/
+
+pl 6
+       - bf: include makedir/Rules.make too
+       - Documentation/automake.urgh
+
+pl 5
+       - allow chained make-dist
+
+pl 4
+       - DOTTEXT->.txt
+
+pl 3
+       - included more Lily makefiles
+
+pl 2
+       - dropped $(package) in makefile names
+       - moved stepmake makes to stepmake/
+
+pl 1
+       - preparing for verbatim include
+
+pl 0
+       - shared between lilypond-0.1.69 lilyx-0.1.0
index a718863184d9e6dba800bfc2e535b1e80c441ff2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,380 +0,0 @@
-pl 80
-       - use mgsmerge iso tupdate
-
-pl 79
-       - empty sed script fix for aix
-
-pl 78
-       - yodl mode, mp fixes
-
-pl 77
-       - mfmode
-
-pl 76
-       - bfs: shells, scripts
-
-pl 75
-       - bfs: release
-
-pl 74
-       - avoid buggy /bin/sh on hp-ux
-       - bf: make/stepmake.make
-       - simple prolog support
-
-pl 73
-       - bf: invoke sed only once
-
-pl 72
-       - bf: mfplain dependency
-       - inimf, inimf checking (sigh)
-
-pl 71
-       - bf: c-tags
-       - yodl: groff, ditroff
-
-pl 70
-       - GUILE config fixes (AF)
-
-pl 69
-       - package_depth detection fix
-
-pl 68
-       - support for install-libraries
-
-pl 66
-       - check for tbl and gmake
-
-pl 65
-       - unix style pathsep/dirsep for cygwin
-
-pl 64
-       - gcc-2.8/egcs
-
-pl 63
-       - CFLAGS from yodl debian patch
-
-pl 62
-       - fixed dist from subdirs
-       - junked stepmake/aclocal.m4 (again?)
-       - resurrected po stuff
-
-pl 61
-       - bf: package-diff
-
-pl 60
-       - small fixes.
-
-pl 59
-       - bf: package-diff (remove missing automatic)
-       - install templates, (urg) INSTALL*1,2 INSTALL_OUT*1,2
-
-pl 58
-       - distribute formatted txt files: no yodl needed for operation!
-       - guile 1.2 and 1.3 support
-
-pl 57
-       - yodl first build script fixes
-       - uninstall fixes, but, urg, still have to uninstall twice
-         to get rid of all subdirs
-       - installed stepmake
-         * install not required
-         * only installs on explicit make install from toplevel stepdir
-         * rather urg, 'make dist' needs absolute distdir!
-
-pl 56
-       - crude metapost stuff
-
-pl 55
-       - table-to-html stuff moved .
-
-pl 54
-       - && for TeX
-
-pl 53
-       - moved TeX stuff into tex template
-
-pl 52
-       - striproff
-       - reeable $(PACKAGE)_LIBES,_INCLUDES
-       - metafont rules
-       - GTK+, --, -draw config stuff
-
-pl 51
-       - bumped version nr
-
-pl 50
-       - bf's: PATHSEP
-       - png
-
-pl 49
-       - use yodl2ms and striproff for txt conversion
-       - bf: chmod fail
-
-pl 48
-       - bumped version for yodl after various (lily pl7) changes
-
-pl 47
-       - bf: patch in website after 'make release'
-       - windows ln -> cp
-       - bf: texinfo build
-
-pl 46
-       - bf: versioning typo: topleveL_MAJOR
-       - bf: reincluded optional STATE-VECTOR
-pl 45
-       - Foo_rules.make -> foo-rules.make
-
-pl 44
-       - split: Toplevel.make, debian/Makefile, Documentation/topdocs/Makefile
-
-pl 43
-       - grand split up in targets/rules/variables.  The vars should be before rules!!
-pl 42
-       - fake-msgfmt.sh; urg copied from fake-yodl
-
-pl 41
-       - standard naming: _FILES
-       - use install-sh
-       - junked most check-X-deps
-       - standard naming: dir/out/library.a
-       - split C++ / C stuff in separate files.  Moved out of default stuff
-       - automake.yo updates
-       - fake-yodl.sh
-
-pl 40
-       - bf's: texinfo
-       - bf's: package-zip.sh for bash-2.0
-       - typo package-diff
-
-pl 39
-       - disabled toplevel index
-
-pl 38
-       - bf's: topweb, Documentation
-       - bf: ls-latex
-
-pl 37
-       - bf's: add-html-footer (ok, i've been reading /.)
-       
-pl 36.hwn1
-       - Metafont.make
-       - use := assignment for shell & wildcard stuff
-
-pl 36
-       - bf: Executable.make install
-
-pl 35
-       - bf: Po_rules
-       - grand foreach hack (HWN)
-
-pl 34
-       - stepmake/*shared.make
-
-pl 33
-       - make dist fix
-       - yodl/lily website fixes
-
-pl 32
-       - DEPTH: enable fixing of 'yodl using yodl'
-       - bf's: package-diff: --dir-* 
-
-pl 31.hwn1
-       - bf ls-latex.py; added format
-
-pl 31
-       - fixed make-flags
-       - fixup package-diff and added to-dir, from-dir
-
-pl 30.hwn2
-       - 
-
-pl 30.hwn1
-       - doc++ target  
-       - make -> $(MAKE)
-
-pl 30
-       - add-html-footer: html/body/title
-
-pl 29.hwn1
-       - automake.urgh -> automake.yo
-
-pl 29
-       - counter fix
-
-pl 28
-       - mini fix voor soladeris (HWN)
-       - add-html-footer fixes
-       - dropped pl
-
-pl 27
-       - irix fixes(?) (HWN)
-
-pl 26.jcn3
-       - update.py: try at stupid advice
-       - bf: ls-latex .yo author
-       - bf: Excutable.make install
-
-pl 26.jcn2
-       - no changes
-
-pl 26.hwn1
-       - no changes; just testin' make update
-
-pl 26.jcn1
-       - no changes
-
-pl 26
-       - make apply
-       - package-to.diff.gz
-       - package-from-to.diff.gz with state-vector
-       - state vector
-
-pl 25
-       - bf: add-html-footer.py: version_str iso tuple
-       - typo: Executable.make
-       - for 2latex: yodl2latex of yodl-1.30.0.pre9
-       - package depth 'detected' by configure (kinda ugh)
-       - fixes (HWN)
-
-pl 24
-       - binary releases:
-         * make deb
-           * dpkg 1.4.0.23.2
-           * debhelper 0.96
-           * /usr/bin/db_*: remove -p from install options (urg)
-         * make rpm
-         * make zip
-       - debian fixes
-       - SEXECUTABLES / EXECUTABLES (JBR)
-       - fixed package-zip.sh (again?)
-       - bf's: make zip
-       - some doco
-       - bf: STRIPFILES
-       - rpm from tarball in $(depth)/$(outdir)
-       - dropped lilypython, pythonblurb
-       - bf's: flower.py/packagepython.py/package-diff.py
-
-
-pl 23.hwn2
-       - add mailaddress to package-diff, beautifications
-
-pl 23.hwn1
-       - release.py: check make dist retval
-       - revamped rpm stuff. 
-       - bf abs-step-bindir
-
-
-pl 23
-       - relaxed 'error' to '-echo' for non-vital utilities
-       - table-to-html.py
-       - bin/stepdirs.sh
-       - bin/stepmakeise.sh
-       - --package-ised
-       - windows-nt fixes (JBR)
-
-pl 22
-       - new zip stuff
-
-pl 21
-       - packagepythonified add-html-footer, ls-latex
-       - packagepython (dankje lieverd)
-       - LD
-       - bf: don't diff .pyc
-       - yodl2 -> YODL2
-       - AC_STEPMAKE_YODL
-       - vars: GCC/TROFF/LD
-
-pl 20
-       - bf: ls-latex: .yo author + title
-       - htmldoc fix
-       - ls-latex
-       - add-html-footer
-       - po stuff
-       - latex + bibtex
-       - latex2yodl fixes
-
-pl 19
-       - add htmlfooter to all yodl chapter files
-       - .latex for latex files
-       - tex2html -> latex2html.sh
-
-pl 18
-       - package-zet.sh
-       - cleaned-out configure -> aclocal.m4
-       - (step)make targets:
-         * diff
-         * help
-         * rpm
-         * zip
-       - tex2yodl.pl helper
-       - patches are now called $package-$TOPLEVEL_VERSION.diff
-       - fixed @FILE@ and @VAR@ substitute
-       - bf: DO_CXX_COMPILE
-
-pl 17
-       - C rules :-)
-       - bf's Template.make
-
-pl 16
-       - more lily macros -> generic stepmake
-       - dropped POD configuration
-       - used it
-       - pod2yodl: one time conversion helper
-
-pl 15
-       - fixes: texi2man
-
-pl 14
-       - text2html
-
-pl 13
-       - texinfo support
-       - removed mudela rules
-
-pl 12
-       - irix patch
-
-pl 11
-       - 'urg comment' by wendy
-       - python fixes
-
-pl 10
-       - more from lily
-       - sed-stuff
-
-pl 9
-       - configure fix for irix tr
-       - bf: Install_*.make
-       - bf: PACKAGE_ ROOTDIR
-
-pl 8
-       - some python stuff from lily
-
-pl 7
-       - PACKAGE_NAME
-       - BLURB
-       - INSTALL doco
-       - Documentation/
-
-pl 6
-       - bf: include makedir/Rules.make too
-       - Documentation/automake.urgh
-
-pl 5
-       - allow chained make-dist
-
-pl 4
-       - DOTTEXT->.txt
-
-pl 3
-       - included more Lily makefiles
-
-pl 2
-       - dropped $(package) in makefile names
-       - moved stepmake makes to stepmake/
-
-pl 1
-       - preparing for verbatim include
-
-pl 0
-       - shared between lilypond-0.1.69 lilyx-0.1.0
index 9ffa512c3319c9de18c086ba4513603803e91ba4..1eb654a68588e5115837a561a9ec65195ea1e8d2 100644 (file)
@@ -1,7 +1,7 @@
 #!@PYTHON@
 
 """
-Print a nice footer.  add the top of the NEWS file (up to the ********)
+Print a nice footer.  add the top of the ChangeLog file (up to the ********)
 """
 
 program_name = 'add-html-footer'
@@ -15,27 +15,38 @@ import getopt
 import __main__
 
 fullname = "unknown"
-news_file = ''
+changelog_file = ''
 
 index_file=''
 banner_file = ''
-news_file=''
-news =''
+changelog_file=''
+changes =''
 footer = '\n<hr>Please take me <a href=%s>back to the index</a>\n\
 of %s<!%s%s>\n'
 builtstr = '\n<hr><font size=-1>\n\
 This page was built from %s-%s by\
 <address><br>%s &lt<a href=mailto:%s>%s</a>&gt, at %s.</address><p></font>' 
 
-(options, files) = getopt.getopt(sys.argv[1:], 'hp:', ['help', 'news=', 'index=', 'package=']) 
-
-def gulp_file (fn):
-       f = open (fn)
-       return f.read ()
+(options, files) = getopt.getopt(sys.argv[1:], 'c:hp:', ['changelog=', 'help', 'news=', 'index=', 'package=']) 
+
+def gulp_file(f):
+       try:
+               i = open(f)
+               i.seek (0, 2)
+               n = i.tell ()
+               i.seek (0,0)
+       except:
+               sys.stderr.write ("can't open file: %s\n" % f)
+               return ''
+       s = i.read (n)
+       if len (s) <= 0:
+               sys.stderr.write ("gulped emty file: %s\n" % f)
+       i.close ()
+       return s
 
 def help ():
     sys.stdout.write (r"""Usage: add-html-footer [OPTION]... HTML-FILE
-Add a nice footer, add the top of the NEWS file (up to the ********)
+Add a nice footer, add the top of the ChangLog file (up to the ********)
 Options:
   -h, --help             print this help
   -p, --package          package name (ugh. Junkme.)
@@ -45,8 +56,8 @@ Options:
 for opt in options:
     o = opt[0]
     a = opt[1]
-    if o == '--news':
-       news_file = a
+    if o == '--news' or o == '--changelog' or o == '-c':
+       changelog_file = a
     elif o == '--index':
        index_file = a
     elif o == '-h' or o == '--help':
@@ -91,10 +102,10 @@ banner = footstr (index_file)
 banner_id = '<! banner_id >'
 
 
-if news_file:
-    news = gulp_file (news_file)
-    i = regex.search ('^\*\*', news)
-    news = news[:i]
+if changelog_file:
+    changes = gulp_file (changelog_file)
+    i = regex.search ('^\*\*', changes)
+    changes = changes[:i]
     
 def check_tag (tag, sub, s, bottom):
     tag = string.lower (tag)
@@ -111,8 +122,8 @@ def check_tag (tag, sub, s, bottom):
 for f in files:
     s = gulp_file (f)
 
-    if news_file:
-       s = regsub.sub ('top_of_NEWS', '<XMP>\n'+ news  + '\n</XMP>\n', s)
+    if changelog_file:
+       s = regsub.sub ('top_of_ChangeLog', '<XMP>\n'+ changes  + '\n</XMP>\n', s)
 
     s = check_tag ('<body', '', s, 0)
     if regex.search ('<BODY', s) == -1:
index 98eb250d51f3a0a40915d76c6c445c31c8c0116f..124317898c8827f2c7b30423bc501faf458aeb87 100644 (file)
@@ -1,6 +1,8 @@
 #!@PYTHON@
 
-# name isn't really appropriate now ...
+# FIXME: 
+#  name isn't really appropriate now ...
+#  see mudela-book: cater for different formats in uniform way
 
 name = 'ls-latex'
 version = '0.1'
@@ -9,9 +11,20 @@ import sys
 import os
 import string
 
-def gulp_file (fn):
-       f = open (fn)
-       return f.read ()
+def gulp_file(f):
+       try:
+               i = open(f)
+               i.seek (0, 2)
+               n = i.tell ()
+               i.seek (0,0)
+       except:
+               sys.stderr.write ("can't open file: %s\n" % f)
+               return ''
+       s = i.read (n)
+       if len (s) <= 0:
+               sys.stderr.write ("gulped emty file: %s\n" % f)
+       i.close ()
+       return s
 
 import __main__
 import glob
@@ -33,8 +46,8 @@ def read_latex_header (fn):
     i = regex.search( '\\\\begin{document}', s)
 
     if i < 0:
-       sys.stderr.write( 'Huh? empty file?')
-       s = '\\author{(unknown)}\\title{(unknown)}'
+       sys.stderr.write ("ls-latex: no \\begin{document} in %s\n" % fn)
+       s = "\\author{(unknown)}\\title{(file: %s)}" % fn
        
     s = s[:i]
     s = regsub.gsub('%.*$', '', s)
@@ -44,15 +57,15 @@ def read_latex_header (fn):
     header.filename= fn;
 
     if latex_author_re.search (s) == -1 :
-       sys.stderr.write( 'huh? No author?')
+       sys.stderr.write ("ls-latex: can't find author in %s\n" % fn)
        header.author = 'unknown'
     else:
         header.author = latex_author_re.group (1)
     if latex_title_re.search (s) == -1:
-       sys.stderr.write( 'huh?  No title?')
-       header.title = 'unknown'
+       sys.stderr.write ("ls-latex: can't find title in %s\n" % fn)
+       header.title = "(file: %s)" % fn
     else:
-           header.title = latex_title_re.group (1)
+       header.title = latex_title_re.group (1)
     header.outfile = fn
     header.outfile = regsub.gsub ('\.latex$', '.ps.gz', header.outfile)
     header.outfile = regsub.gsub ('\.tex$', '.ps.gz', header.outfile)
@@ -98,16 +111,28 @@ def read_pod_header (fn):
     header.outfile = regsub.gsub ('\.pod$', '.html', fn)
     return  header
 
+texinfo_author_re = regex.compile(r'^@author  *\(.*\) *$')
+texinfo_title_re = regex.compile(r'^@title  *\(.*\) *$')
+
 def read_texinfo_header (fn):
     header = Latex_head ()
     s = gulp_file (fn)
+    if texinfo_author_re.search (s) == -1 :
+       sys.stderr.write ("ls-latex: can't find author in %s\n" % fn)
+       header.author = 'unknown'
+    else:
+        header.author = texinfo_author_re.group (1)
+    if texinfo_title_re.search (s) == -1:
+       sys.stderr.write ("ls-latex: can't find title in %s\n" % fn)
+       header.title = "(file: %s)" % fn
     i = regex.search( '@node ', s)
     s = s[i+5:]
     i = regex.search( ',', s)
     if i < 0:
        sys.stderr.write ('gulped file: ' + fn + '\n')
        raise 'huh?'
-    header.title = s[:i]
+    if not header.title:
+       header.title = s[:i]
     header.filename = fn
     header.outfile = regsub.gsub ('\.texinfo$', '.html', fn)
     header.format = 'HTML'
@@ -116,13 +141,22 @@ def read_texinfo_header (fn):
 def read_tely_header (fn):
     header = Latex_head ()
     s = gulp_file (fn)
+    if texinfo_author_re.search (s) == -1 :
+       sys.stderr.write ("ls-latex: can't find author in %s\n" % fn)
+       header.author = 'unknown'
+    else:
+        header.author = texinfo_author_re.group (1)
+    if texinfo_title_re.search (s) == -1:
+       sys.stderr.write ("ls-latex: can't find title in %s\n" % fn)
+       header.title = "(file: %s)" % fn
     i = regex.search( '@settitle', s)
     s = s[i+10:]
     i = regex.search( '\n', s)
     if i < 0:
        sys.stderr.write ('gulped file: ' + fn + '\n')
        raise 'huh?'
-    header.title = s[:i]
+    if not header.title:
+       header.title = s[:i]
     header.filename = fn
     header.outfile = regsub.gsub ('\.tely', '.html', fn)
     header.format = 'HTML'
index 4919c80f0334fae5bcbf21d7142e9c2e665bfe3a..c210a5426e0a5e4324815dfba50133ad7dd14112 100644 (file)
@@ -9,9 +9,20 @@ import string
 import getopt
 import pipes
 
-def gulp_file (fn):
-       f = open (fn)
-       return f.read ()
+def gulp_file(f):
+       try:
+               i = open(f)
+               i.seek (0, 2)
+               n = i.tell ()
+               i.seek (0,0)
+       except:
+               sys.stderr.write ("can't open file: %s\n" % f)
+               return ''
+       s = i.read (n)
+       if len (s) <= 0:
+               sys.stderr.write ("gulped emty file: %s\n" % f)
+       i.close ()
+       return s
 
 def program_id ():
        return name + ' ' + version;
index 306eb8dea200782bf8356572b32c56d48556b630..efe53009ca2cde67bb8ee67c95bd62ec1d53e4a8 100644 (file)
@@ -18,7 +18,7 @@ endif
 # list of distribution files:
 #
 SCRIPTS = configure aclocal.m4
-README_FILES = NEWS README TODO
+README_FILES = CHANGES README TODO
 README_TXT_FILES = AUTHORS.txt INSTALL.txt
 EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES)  $(SCRIPTS) 
 NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
index ce726fe8c1d53d3ee28bff34c84082d47d751d4a..9ce1c1ccf4cdc60bd7d15335f32d8e91b545e9b0 100644 (file)
@@ -1,6 +1,6 @@
 # Texinfo_rules.make
 
-.SUFFIXES: .html .texinfo
+.SUFFIXES: .html .info .texi .texinfo
 
 $(outdir)/%.info: $(outdir)/%.texi
        makeinfo --output=$@ $<
index 19fcff909b16c2c9026eca13a01c1db1bec5f409..612d1c6b6414400deacde222bfbb440c533895fe 100644 (file)
@@ -7,7 +7,7 @@ $(outdir)/%.html: %.yo
        $(YODL2HTML) -doutdir=$(outdir) --live-data=3 -o $@.in $<
        $(sed-version) < $@.in > $@
        rm -f $@.in
-       $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=index.html --news=$(depth)/NEWS $@
+       $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=index.html --changelog=$(depth)/CHANGES $@
 
 local-WWW:
        -cp $(outdir)/*png $(outdir)/index.html $(depth)  # don't fail if not making website