]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.0
authorfred <fred>
Tue, 26 Mar 2002 22:42:32 +0000 (22:42 +0000)
committerfred <fred>
Tue, 26 Mar 2002 22:42:32 +0000 (22:42 +0000)
21 files changed:
Documentation/programs.texi
Documentation/topdocs/README.texi
lib/duration-convert.cc
lib/duration-iter.cc
lib/duration.cc
lib/include/duration-convert.hh
lib/include/duration.hh
lib/include/plet.hh
lib/plet.cc
lily/include/lily-guile.hh
lily/include/lily-proto.hh
lily/include/paper-stream.hh
lily/my-lily-lexer.cc
lily/paper-stream.cc
stepmake/stepmake/documentation-targets.make
stepmake/stepmake/documentation-vars.make
stepmake/stepmake/generic-targets.make
stepmake/stepmake/pod-vars.make [new file with mode: 0644]
stepmake/stepmake/texinfo-rules.make
stepmake/stepmake/texinfo-targets.make
stepmake/stepmake/yodl-vars.make [new file with mode: 0644]

index 6bd3b069c40479b735c8f3c8b4d88ce15f8c70d8..6fecb0ea434a7825d61629b4b9933357103804ad 100644 (file)
@@ -2,11 +2,10 @@
 @setfilename programs.info
 @settitle Programs
 
-@node Top, , midi2ly Authors, (dir)
+@node  Top, , , (dir)
 @top
 @menu
 * Programs::                      Your Softs-
-* convert-mudela::                convert-mudela to newer versions
 * Ly2dvi::                        Python utility to convert mudela to DVI
 * midi2ly::                       convert MIDI to -mudela-
 @end menu
@@ -14,7 +13,7 @@
 
 
 
-@node Programs, convert-mudela, , Top
+@node  Programs, , , Top
 @chapter Programs
 
 
@@ -23,7 +22,7 @@
 
 
 
-@node Ly2dvi, Ly2dvi DESCRIPTION, LilyPond Authors, Top
+@node  Ly2dvi, , , Top
 @menu
 * Ly2dvi DESCRIPTION::            Ly2dvi DESCRIPTION
 * Ly2dvi SYNOPSIS::               Ly2dvi SYNOPSIS
@@ -39,7 +38,7 @@
 @end menu
 @chapter Ly2dvi
 
-@node Ly2dvi DESCRIPTION, Ly2dvi SYNOPSIS, Ly2dvi, Ly2dvi
+@node  Ly2dvi DESCRIPTION, , , Ly2dvi
 @section DESCRIPTION
 ly2dvi is a Python script which creates input file for LaTeX,
 based on information from the output files from LilyPond.
@@ -53,12 +52,12 @@ one or more DVI files.
 The majority of this utility came from a bourne script written by Jan
 Arne Fagertun name @file{ly2dvi}. 
 
-@node Ly2dvi SYNOPSIS, Ly2dvi OPTIONS, Ly2dvi DESCRIPTION, Ly2dvi
+@node  Ly2dvi SYNOPSIS, , , Ly2dvi
 @section SYNOPSIS
 
         ly2dvi [options] inputfile[.ly] [....]
 
-@node Ly2dvi OPTIONS, Ly2dvi Features, Ly2dvi SYNOPSIS, Ly2dvi
+@node  Ly2dvi OPTIONS, , , Ly2dvi
 @section OPTIONS
 
 @table @samp
@@ -106,7 +105,7 @@ Arne Fagertun name @file{ly2dvi}.
     DVI file for each.
 @end table
 
-@node Ly2dvi Features, Ly2dvi Environment, Ly2dvi OPTIONS, Ly2dvi
+@node  Ly2dvi Features, , , Ly2dvi
 @section Features
 
 ly2dvi responds to several parameters specified in the mudela
@@ -125,7 +124,7 @@ file. They are overridden by corresponding command line options.
     Specify name of papersize.
 @end table
 
-@node Ly2dvi Environment, Ly2dvi Files, Ly2dvi Features, Ly2dvi
+@node  Ly2dvi Environment, , , Ly2dvi
 @section Environment
 
 @table @samp
@@ -137,7 +136,7 @@ file. They are overridden by corresponding command line options.
     Temporary directory name. Default is /tmp
 @end table
 
-@node Ly2dvi Files, Ly2dvi Initialization Sequence, Ly2dvi Environment, Ly2dvi
+@node  Ly2dvi Files, , , Ly2dvi
 @section Files
 
 @file{titledefs.tex} is inspected for definitions used to extract
@@ -239,7 +238,7 @@ present.  Possible value is a valid directory specification that is
 writable to the user.
 @end table
 
-@node Ly2dvi Initialization Sequence, Ly2dvi See Also, Ly2dvi Files, Ly2dvi
+@node  Ly2dvi Initialization Sequence, , , Ly2dvi
 @section Initialization Sequence
 The initialization process reads inputs for several sources.  Below is
 a list of priorities for lowest to hightest proirity.
@@ -257,12 +256,12 @@ a list of priorities for lowest to hightest proirity.
 Note that this differs slightly from the original bourne shell
 version. 
 
-@node Ly2dvi See Also, Ly2dvi Bugs, Ly2dvi Initialization Sequence, Ly2dvi
+@node  Ly2dvi See Also, , , Ly2dvi
 @section See Also
 
 lilypond(1), tex(1), latex(1)
 
-@node Ly2dvi Bugs, Ly2dvi Remarks, Ly2dvi See Also, Ly2dvi
+@node  Ly2dvi Bugs, , , Ly2dvi
 @section Bugs
 
 If you have found a bug, you should send a bugreport.
@@ -276,7 +275,7 @@ If you have found a bug, you should send a bugreport.
     to this mailinglist).
 @end itemize
 
-@node Ly2dvi Remarks, Ly2dvi Authors, Ly2dvi Bugs, Ly2dvi
+@node  Ly2dvi Remarks, , , Ly2dvi
 @section Remarks
 
 Many papersizes are now supported. Information on other sizes
@@ -289,7 +288,7 @@ a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, archA, archB, archC, archD,
 archE, b0, b1, b2, b3, b4, b5, flsa, flse, halfletter, ledger, legal,
 letter, note
 
-@node Ly2dvi Authors, midi2ly, Ly2dvi Remarks, Ly2dvi
+@node  Ly2dvi Authors, , , Ly2dvi
 @section Authors
 Python Version author:
 @email{daboys@@austin.rr.com, Jeffrey B. Reed},
@@ -305,24 +304,21 @@ Original bourne shell version author:
 
 
 
-@node midi2ly, midi2ly DESCRIPTION, Ly2dvi Authors, Top
+@node  midi2ly, , , Top
 @menu
 * midi2ly DESCRIPTION::           midi2ly DESCRIPTION
 * midi2ly OPTIONS::               midi2ly OPTIONS
-* midi2ly DISCLAIMER::            midi2ly DISCLAIMER
-* midi2ly SEE ALSO::              midi2ly SEE ALSO
-* midi2ly Authors::               midi2ly Authors
 @end menu
 @chapter midi2ly
 
-@node midi2ly DESCRIPTION, midi2ly OPTIONS, midi2ly, midi2ly
+@node  midi2ly DESCRIPTION, , , midi2ly
 @section DESCRIPTION
 midi2ly translates a MIDI input file to Mudela (GNU LilyPond source
 format).  midi2ly is part of the GNU LilyPond music typesetting package.
 
        midi2ly [options] midi-file
 
-@node midi2ly OPTIONS, midi2ly DISCLAIMER, midi2ly DESCRIPTION, midi2ly
+@node  midi2ly OPTIONS, , , midi2ly
 @section OPTIONS
 
 @table @samp
@@ -355,33 +351,4 @@ format).  midi2ly is part of the GNU LilyPond music typesetting package.
     Assume no double dotted notes.
 @end table
 
-@node midi2ly DISCLAIMER, midi2ly SEE ALSO, midi2ly OPTIONS, midi2ly
-@section DISCLAIMER
-
-midi2ly is copyright 1996, 1997 by its authors. midi2ly is distributed 
-as part of GNU LilyPond, under the terms of the GNU General Public
-License.  midi2ly is provided without any warranty what so ever.
-midi2ly may be freely distributed.  For further information consult
-the GNU General Public License, from the file @file{COPYING}.
-
-@node midi2ly SEE ALSO, midi2ly Authors, midi2ly DISCLAIMER, midi2ly
-@section SEE ALSO
-
-@table @samp
-@item @strong{lilypond}(1)
-    The GNU LilyPond music typesetter.
-@end table
-
-@node midi2ly Authors, Top, midi2ly SEE ALSO, midi2ly
-@section Authors
-
-Please consult the documentation file @file{AUTHORS} for more detailed
-information, and small contributions. 
-
-@email{janneke@@gnu.org, Jan Nieuwenhuizen}, @uref{http://www.xs4all.nl/~jantien}
-
-
-
-
-
 @bye
index afaf35fb75189bb665b248f7b6f18a61c29855a1..8f76f1f67347842dbc1d496dfcd9780ffd457b7e 100644 (file)
@@ -45,13 +45,13 @@ If you want to read the documentation online, these are options:
 @item use @file{.dvi},  for the tutorial and reference manual. Do
 
 @example 
-  make -C Documentation/tex/ dvi 
+  make -C Documentation/user/ dvi 
 @end example 
 
   
 @item  use ASCII. Do
 using @example 
-       make -C Documentation/
+       make -C doc
 @end example 
 
 @end itemize
index 5f3be55dd8e0049718198d8f1009ddc2b91b55fb..ac46fd7a608e18a5d4cc185a1712e6b2bfdc1406 100644 (file)
@@ -44,7 +44,7 @@ Duration_convert::dur2ticks_i (Duration dur)
 {
   if (dur.ticks_i_)
     return dur.ticks_i_;
-  return dur2_mom (dur) * Moment (Duration::division_1_i_s);
+  return dur2_mom (dur) * Rational (Duration::division_1_i_s);
 }
 
 int
@@ -67,22 +67,22 @@ Duration_convert::type2_i (int type)
     return 1 << type;
 }
 
-Moment
+Rational
 Duration_convert::dur2_mom (Duration dur)
 {
   if (dur.ticks_i_)
-    return Moment (dur.ticks_i_, Duration::division_1_i_s);    
+    return Rational (dur.ticks_i_, Duration::division_1_i_s);  
 
   // or simply assert?
   if (dur.durlog_i_<-10)
-    return Moment (0);
-  Moment mom;
+    return Rational (0);
+  Rational mom;
   if (dur.durlog_i_<0)
-    mom = Moment (type2_i (-dur.durlog_i_), 1);
+    mom = Rational (type2_i (-dur.durlog_i_), 1);
   else
-    mom = Moment (1 , type2_i (dur.durlog_i_));
+    mom = Rational (1 , type2_i (dur.durlog_i_));
 
-  Moment delta = mom;
+  Rational delta = mom;
   while (dur.dots_i_--) 
     {
       delta /= 2.0;
@@ -93,7 +93,7 @@ Duration_convert::dur2_mom (Duration dur)
 }
 
 Duration
-Duration_convert::mom2_dur (Moment mom)
+Duration_convert::mom2_dur (Rational mom)
 {
   if (!mom) 
     {
@@ -111,8 +111,8 @@ Duration_convert::mom2_dur (Moment mom)
 
   //   dur.set_plet (type_mom, Duration::division_1_i_s / 4); 
 
-  //   Moment as_plet_mom = mom / dur.mom ();
-  Moment as_plet_mom = mom / dur.length_mom ();
+  //   Rational as_plet_mom = mom / dur.mom ();
+  Rational as_plet_mom = mom / dur.length_mom ();
   as_plet_mom *= dur.plet_.mom ();
   long num = as_plet_mom.num ();
   long den = as_plet_mom.den ();
@@ -121,7 +121,7 @@ Duration_convert::mom2_dur (Moment mom)
 }
 
 Duration
-Duration_convert::mom2standardised_dur (Moment mom)
+Duration_convert::mom2standardised_dur (Rational mom)
 {
   //   if (!dur_array_s.length_i ())
   if (!dur_array_s.size ())
@@ -129,12 +129,12 @@ Duration_convert::mom2standardised_dur (Moment mom)
   assert (dur_array_s.size ());
   for (int i = 0; i < dur_array_s.size () - 1; i++) 
     {
-      Moment lower_mom = dur2_mom (dur_array_s[ i ]);
+      Rational lower_mom = dur2_mom (dur_array_s[ i ]);
       if (mom <= lower_mom) 
        {
          // all arbitrary, but 3/4 will get rid of the noise...
          // kinda ok
-         if (i || (mom / lower_mom > Moment (3, 4)))
+         if (i || (mom / lower_mom > Rational (3, 4)))
            return dur_array_s[ i ];
          else 
            {
@@ -143,7 +143,7 @@ Duration_convert::mom2standardised_dur (Moment mom)
              return d;
            }
        }
-      Moment upper_mom = dur2_mom (dur_array_s[ i + 1 ]);
+      Rational upper_mom = dur2_mom (dur_array_s[ i + 1 ]);
       if ((mom < upper_mom)
          && ((mom - lower_mom) / lower_mom
              < (upper_mom - mom) / upper_mom))
@@ -164,14 +164,14 @@ Duration_convert::set_array ()
 }
 
 
-Moment
+Rational
 Duration_convert::plet_factor_mom (Duration dur)
 {
   return dur.plet_.mom ();
 }
 
 Real
-Duration_convert::sync_f (Duration dur, Moment mom)
+Duration_convert::sync_f (Duration dur, Rational mom)
 {
   return mom / dur2_mom (dur);
 }
@@ -179,7 +179,7 @@ Duration_convert::sync_f (Duration dur, Moment mom)
 Duration
 Duration_convert::ticks2_dur (int ticks_i)
 {
-  Moment mom (ticks_i, Duration::division_1_i_s);
+  Rational mom (ticks_i, Duration::division_1_i_s);
   if (midi_as_plet_b_s)
     return mom2_dur (mom);
 
@@ -194,7 +194,7 @@ Duration_convert::ticks2_dur (int ticks_i)
 Duration
 Duration_convert::ticks2standardised_dur (int ticks_i)
 {
-  Moment mom (ticks_i, Duration::division_1_i_s);
+  Rational mom (ticks_i, Duration::division_1_i_s);
   Duration dur = mom2standardised_dur (mom);
   return dur;
 }
index 9472c0217d512044927fc81587f43a78768e85b3..abb467d1c1fad5dea73d44e73117c570ee2f28a1 100644 (file)
@@ -114,5 +114,5 @@ Duration_iterator::forward_dur ()
 bool
 Duration_iterator::ok ()
 {
-  return cursor_dur_.length_mom () <= Moment (4);
+  return cursor_dur_.length_mom () <= Rational (4);
 }
index bd9435fd829167c269d192a2d7f7386c974e3d43..b2a5f84643dd36cdec33b1b4675dc40cf597afd6 100644 (file)
@@ -16,7 +16,7 @@
 #include "string.hh"
 #include "source-file.hh"
 #include "source.hh"
-#include "moment.hh"
+#include "rational.hh"
 #include "duration.hh"
 #include "duration-convert.hh"
 #include "duration-iter.hh"
@@ -42,13 +42,13 @@ Duration::duration_type_b (int t)
 }
 
 void
-Duration::compress (Moment m)
+Duration::compress (Rational m)
 {
   plet_.iso_i_ *= m.num_i ();
   plet_.type_i_ *= m.den_i (); 
 }
 
-Moment
+Rational
 Duration::length_mom () const
 {
   return Duration_convert::dur2_mom (*this);
index 11ee123ee06b52ae88ea8312d5bea4b99d33f3f7..980c62a6f5e8ffd05bfe810b32529c8c56f9388c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-         duration-convert.hh -- declare 
+  duration-convert.hh -- declare Duration_convert
 
   source file of the LilyPond music typesetter
 
@@ -11,7 +11,6 @@
 #define DURATION_CONVERT_HH
 #include "duration.hh"
 #include "string.hh"
-//#include "array.hh"
 #include "array.hh"
 
 /**
        That is including (integer + division) representation for MIDI,
        and conversion from unexact time representation (best guess :-).
 
-       A Moment (mom) is a Rational that holds the time fraction 
+       A Rational (mom) is a Rational that holds the time fraction 
        compared to a whole note (before also called wholes).
 
-       SUGGESTION: currently a moment in time is called moment too;
-       let-s typedef Rational When too, so that we get 
-       When Staff_column::when (), Moment Voice_element::mom ().
-
        [todo]
        move all statics to real members, instantiate Duration_convert
        object (s).
@@ -51,27 +46,27 @@ struct Duration_convert {
   /// Return 0 if longer than whole note.
   static int type2_i (int type);
 
-  /// Return Moment representation (fraction of whole note).
-  static Moment dur2_mom (Duration dur );
+  /// Return Rational representation (fraction of whole note).
+  static Rational dur2_mom (Duration dur );
 
   /// Return Mudela string representation.
   static String dur2_str (Duration dur );
 
-  /// Return duration from Moment (fraction of whole) representation.
-  static Duration mom2_dur (Moment mom );
+  /// Return duration from Rational (fraction of whole) representation.
+  static Duration mom2_dur (Rational mom );
 
   /// Return standardised duration, best guess if not exact.
-  static Duration mom2standardised_dur (Moment mom );
+  static Duration mom2standardised_dur (Rational mom );
   
-  /// Return plet factor (not a Moment: should use Rational?).
-  static Moment plet_factor_mom (Duration dur );
+  /// Return plet factor (not a Rational: should use Rational?).
+  static Rational plet_factor_mom (Duration dur );
 
   static void set_array ();
 
   /** Return synchronisation factor for mom, so that
       mom2_dur (mom / sync_f ) will return the duration dur.           
   */ 
-  static Real sync_f (Duration dur, Moment mom );
+  static Real sync_f (Duration dur, Rational mom );
 
   /// Return exact duration, in midi-ticks if not-exact.
   static Duration ticks2_dur (int ticks_i );
index a4f5cdc71c5d034c00f155e65008a1a2db31052b..28580b63af32f93c5a0a56211c89a3b107700dbb 100644 (file)
@@ -13,7 +13,7 @@
 #define DURATION_HH
 
 #include "fproto.hh"
-#include "moment.hh"
+#include "rational.hh"
 #include "plet.hh"
 
 /**
@@ -27,11 +27,11 @@ struct Duration {
   bool plet_b ();
   String str () const;
   void set_plet (int,int );
-  void compress (Moment);
+  void compress (Rational);
 
   static bool duration_type_b (int t);
   void set_ticks (int ticks_i );
-  Moment length_mom () const ;
+  Rational length_mom () const ;
   static int division_1_i_s;
 
   /// Logarithm of the base duration.
index dbb26da95dcb04b091425a4e644c4db20c78422d..42ef83b435d86cbbd9ac82d5a0894a14202134a0 100644 (file)
@@ -9,7 +9,7 @@
 
 #ifndef PLET_HH
 #define PLET_HH
-#include "moment.hh"
+#include "rational.hh"
 
 /** 
   The type and replacement value of a  plet (triplet, quintuplet.) Conceptually the same as a rational, but 4/6 != 2/3.
@@ -18,7 +18,7 @@
  */
 struct Plet {
   Plet ();
-  Moment mom () const;
+  Rational mom () const;
   bool unit_b () const;
   int iso_i_;  // 2/3; 2 is not duration, maar of count!
   int type_i_; 
index a145aa7ae48064bf2207df812d432bdc06496e45..e567515b7ed1c43366f95fa1ef688ab5ffda815a 100644 (file)
@@ -15,10 +15,10 @@ Plet::Plet ()
   iso_i_ = 1;
 }
 
-Moment
+Rational
 Plet::mom () const
 {
-  return  Moment (iso_i_, type_i_);
+  return  Rational (iso_i_, type_i_);
 }
 
 bool
index 90773ac8d1da641a8929aba0bba05df1c05acc2d..994489c41131914127e84c1b9fdb00e790a4eefb 100644 (file)
@@ -24,6 +24,7 @@ SCM ly_set_scm (String name , SCM val);
 SCM ly_append (SCM a, SCM b);
 SCM ly_eval (SCM a);
 SCM ly_func_o (char const* name);
+SCM ly_parse_scm (char const* s, int* n);
 SCM ly_quote_scm (SCM s);
 void ly_display_scm (SCM s);
 String ly_scm2string (SCM s);
@@ -31,21 +32,32 @@ SCM array_to_list (SCM *a , int l);
 
 
 #include "array.hh"
-#include "scalar.hh"
-
 
 void read_lily_scm_file (String);
 void init_lily_guile ();
 
 #include "ly-symbols.hh"
 
-/*
-  Do It Yourself GC protection.
- */
-SCM ly_protect_scm (SCM s);
-SCM ly_unprotect_scm (SCM s);
 void init_ly_protection ();
+unsigned int ly_scm_hash (SCM s);
 
 SCM index_cell (SCM cellp, Direction d);
 
+
+/*
+  snarfing.
+ */
+void add_scm_init_func (void (*)());
+
+#define ADD_SCM_INIT_FUNC(name, func)\
+class name ## _scm_initter {                   \
+public:\
+  name ## _scm_initter ()                      \
+  {                                            \
+    add_scm_init_func (func);          \
+  }                                            \
+} _ ## name ## _scm_initter;                   \
+/* end define */
+
+
 #endif // LILY_GUILE_HH
index d3c177c2a6398843b2b3fd0746687d0e58bde4c8..9e397a0ad20da14ee8b3002733c12327deaae64d 100644 (file)
@@ -55,14 +55,14 @@ struct Bracket_req;
 struct Break_align_item;
 struct Break_req;
 struct CHyphen_req;
-struct Chord_tremolo; 
-struct Chord_tremolo_engraver;
-struct Chord_tremolo_req;
 struct Cadenza_req;
 struct Change_iterator;
 struct Change_translator;
 struct Chord;
 struct Chord_name_engraver;
+struct Chord_tremolo; 
+struct Chord_tremolo_engraver;
+struct Chord_tremolo_req;
 struct Clef_change_req;
 struct Clef_engraver;
 struct Clef_item;
@@ -113,7 +113,6 @@ struct Lily_stream;
 struct Line_group_engraver;
 struct Line_of_score;
 struct Line_of_staff;
-struct Simple_spacer;
 struct Linestaff;
 struct Local_key;
 struct Local_key_engraver;
@@ -208,6 +207,7 @@ struct Script_req;
 struct Separating_group_spanner;
 struct Sequential_music;
 struct Simple_music;
+struct Simple_spacer;
 struct Simultaneous_music;
 struct Single_malt_grouping_item;
 struct Skip_req;
@@ -267,8 +267,7 @@ struct Unfolded_repeat_iterator;
 struct Vertical_brace;
 struct Vertical_spanner;
 struct Volta_spanner;
+struct Moment;
 
-typedef Rational Moment;
-typedef Scope Header;
 
 #endif // LILY_PROTO_HH
index e5429511f6e550df5412000a0fa3bc1520c5ef34..f7e3bf56249d92fd0fac3b46a9a3717981b5ae13 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef PAPER_STREAM_HH
 #define PAPER_STREAM_HH
 
-#include <iostream.h>
 #include "string.hh"
 
 /** Paper output
@@ -23,7 +22,7 @@ public:
     Paper_stream (String filename);
 
     /// delegate conversion to scalar class
-    Paper_stream &operator <<(Scalar);
+    Paper_stream &operator <<(String);
 
     /// close the file
     ~Paper_stream();
index 49d84d6335efbb3619cc61a937be719042924de3..de4ea2373a3faea701568a660891cd17200c36d7 100644 (file)
@@ -11,6 +11,7 @@
 #include "notename-table.hh"
 #include "interval.hh"
 #include "identifier.hh"
+#include "lily-guile.hh"
 #include "parser.hh"
 #include "keyword.hh"
 #include "my-lily-lexer.hh"
@@ -19,6 +20,7 @@
 #include "main.hh"
 #include "scope.hh"
 #include "input.hh"
+#include "moment.hh"
 
 static Keyword_ent the_key_tab[]={
   {"autochange", AUTOCHANGE},
@@ -64,8 +66,6 @@ static Keyword_ent the_key_tab[]={
   {"repeat", REPEAT},
   {"repetitions", REPETITIONS},
   {"addlyrics", ADDLYRICS},
-  {"scm", SCM_T},
-  {"scmfile", SCMFILE},
   {"score", SCORE},
   {"script", SCRIPT},
   {"shape", SHAPE},
index 2f791019ad5c7550a1bbd3669a0d1d7d40e9b2a4..f7844a8995a7da4f2adddb36c08320c78fd4c5ed 100644 (file)
@@ -42,7 +42,7 @@ Paper_stream::~Paper_stream ()
 
 // print string. don't forget indent.
 Paper_stream&
-Paper_stream::operator << (Scalar s)
+Paper_stream::operator << (String s)
 {
   for (char const *cp = s.ch_C (); *cp; cp++)
     {
index fc2d648a1f347407ace210535bbb66c28a64ce04..7223b973c4f13680f1eca3bfa3c077a456d58006 100644 (file)
@@ -1,14 +1,12 @@
 
 default:
 
-do-doc: $(OUTTXT_FILES) 
-
 
 local-WWW: $(OUTHTML_FILES)
        echo $^ > $(depth)/wwwlist
 
-doc: do-doc
-
+local-web:
+       $(MAKE) CONFIGSUFFIX=www local-WWW
 
 footify:
        $(footify) $(sort $(wildcard $(outdir)/*.html out/*.html out-www/*.html))
index 82861d822779af2eabadd4357f66290363e28d34..6fb5343eaeb591949d67cc293869595d7ebbb2f8 100644 (file)
@@ -7,20 +7,3 @@ footify=$(PYTHON) $(step-bindir)/add-html-footer.py --name $(PACKAGE_NAME) --ver
 
 footify-all-command=$(footify) `$(FIND) . -name '*.html' -print`
 
-#
-YO_FILES := $(wildcard *.yo)
-POD_FILES := $(wildcard *.pod)
-TEXINFO_FILES := $(wildcard *.texinfo)
-OUTYO_FILES = $(addprefix $(outdir)/,$(YO_FILES))
-OUTPOD_FILES = $(addprefix $(outdir)/,$(POD_FILES))
-OUTTEXINFO_FILES = $(addprefix $(outdir)/,$(TEXINFO_FILES))
-
-#
-ALL_DOC_FILES = $(POD_FILES) $(TEXINFO_FILES) $(YO_FILES)
-OUTTXT_FILES = $(OUTYO_FILES:.yo=.txt) $(OUTIN_FILES:.yo=.txt)
-OUTHTML_FILES = $(OUTYO_FILES:.yo=.html) $(OUTIN_FILES:.yo=.html)
-
-OUTREADME_TXT_FILES=$(addprefix $(outdir)/,$(addsuffix .txt, $(README_TOP_FILES)))
-OUTREADME_HTML_FILES=$(addprefix $(outdir)/,$(addsuffix .html, $(README_TOP_FILES)))
-
-ALL_SOURCES += $(ALL_DOC_FILES)
index 327e1e9207e080ef58f02691d715bb1e1d144a9f..d2b2f9914d363d794a5efa02989d3057b9ebaaca 100644 (file)
@@ -82,10 +82,10 @@ Note that all commands recurse into SUBSDIRS\n\
 
 local-help:
 
-doc:
-#UGH
-       true #  $(MAKE) -C $(depth)/Documentation all
+doc: local-doc
+       $(LOOP)
 
+local-doc:
 
 # Ugh.  C++ specific.
 doc++:
diff --git a/stepmake/stepmake/pod-vars.make b/stepmake/stepmake/pod-vars.make
new file mode 100644 (file)
index 0000000..541da42
--- /dev/null
@@ -0,0 +1,3 @@
+
+POD_FILES := $(wildcard *.pod)
+OUTPOD_FILES = $(addprefix $(outdir)/,$(POD_FILES))
index 88793519644431b39004365caa1cd772faacd119..7b013a29e711630ac512c395723653f5782591cd 100644 (file)
@@ -19,3 +19,4 @@ $(outdir)/%.txt: $(outdir)/%.texi
 $(outdir)/%.texi: %.texi
        cp $< $@
 
+
index 313f8a23e7a22b9c35475c02d167e44edcbb319c..ca47789ef08357c2901c1e702ebee549413f7bf3 100644 (file)
@@ -1,3 +1,5 @@
 # empty
 
 local-WWW: $(addprefix $(outdir)/,$(TEXI_FILES:.texi=.html))
+
+local-doc: $(OUTTXT_FILES)
diff --git a/stepmake/stepmake/yodl-vars.make b/stepmake/stepmake/yodl-vars.make
new file mode 100644 (file)
index 0000000..b97bb19
--- /dev/null
@@ -0,0 +1,6 @@
+
+YO_FILES := $(wildcard *.yo)
+OUTYO_FILES = $(addprefix $(outdir)/,$(YO_FILES))
+
+OUTTXT_FILES = $(OUTYO_FILES:.yo=.txt) $(OUTIN_FILES:.yo=.txt)
+OUTHTML_FILES = $(OUTYO_FILES:.yo=.html) $(OUTIN_FILES:.yo=.html)