]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.50
authorfred <fred>
Sun, 24 Mar 2002 20:07:05 +0000 (20:07 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:07:05 +0000 (20:07 +0000)
Documentation/Rules.make
bin/make-website.in

index 37c33b2b346809f403d1de20d0785be9749c442f..b87154941d3951ba5987ccaa25838caaf40a8494 100644 (file)
@@ -19,7 +19,7 @@ $(outdir)/%.dvi: $(outdir)/%.mudtex
        mv $(notdir $@) $(outdir)
 
 $(outdir)/%.mudtex: %.doc
-       $(binout)/mudela-book --noindex --outdir=$(outdir)/ --outname=$(notdir $@) $<
+       $(depth)/$(bin)/mudela-book --noindex --outdir=$(outdir)/ --outname=$(notdir $@) $<
 
 $(outdir)/%.txt: $(outdir)/%.1
        troff -man -Tascii $< | grotty -b -u -o > $@
index 40420fb1d73dc7346e2ca0a74373c89240036044..7820d45ff86ce09f57a7f14a52912e897e52f186 100644 (file)
@@ -1,5 +1,5 @@
 #!@PYTHON@
-# 
+# -*-python-*-
 # make-website.py --  implement The lilypond WWW site
 # 
 # source file of the GNU LilyPond music typesetter
@@ -41,9 +41,9 @@ import glob
 
 depth = ''
 makewebsite_id = "<!make_website!>";
-id_str = "make-website 0.8";
+id_str = "make-website 0.9";
 tar = "tar";
-make = "make -f OLD-Makefile";
+make = "make -f Makefile";
 mailaddress = "unknown"
 fullname = "unknown"
 footstr = ""
@@ -56,7 +56,7 @@ def set_vars():
     __main__.lilyversion =  version_tuple_to_str(lilydirs.version_tuple())
     os.environ["TEXINPUTS"] = os.environ["TEXINPUTS"] + ":%s/input/:" % depth;
     
-    os.environ["LILYINCLUDE"] = join (':', __main__.include_path)
+    os.environ["LILYINCLUDE"] = join (':', __main__.include_path) +':'+ os.environ["LILYINCLUDE"];
     os.environ["LILYTOP"] = depth;
     __main__.mailaddress= os.environ['MAILADDRESS']
     pw = pwd.getpwuid (os.getuid());
@@ -87,7 +87,7 @@ def my_system(cmds):
        ret = os.system (cmd)
        if ret:
            if ignoreret: 
-               sys.stderr.write( "ignoring failed command \`%s\' (status %d)\n" % (cmd, ret))
+               sys.stderr.write( "ignoring failed command `%s\' (status %d)\n" % (cmd, ret))
            else:
                sys.stderr.write( 'make-website: failed on command %s (status %d)\n' % (cmd, ret))
                sys.exit (2)
@@ -116,7 +116,7 @@ mutopia_examples = [ "wtk1-fugue2",
 
 def gen_html():
     print 'generating HTML'
-    my_system (["make -f OLD-Makefile -kC .. html"]);
+    my_system (["make -f Makefile -kC .. html"]);
     
 
 def gen_examples(inputs):
@@ -224,7 +224,7 @@ def docxx_update():
     banner= open('/tmp/lilybanner.html', 'w');
     banner.write (footstr('../index.html'))
     banner.close ()
-    my_system(['BANNEROPT=\"-B /tmp/lilybanner.html\" %s/bin/out/make-docxx' % depth]);
+    my_system(['BANNEROPT=\"-B /tmp/lilybanner.html\" %s/bin/make-docxx' % depth]);
 #    os.unlink( "/tmp/lilybanner.html");
 
 def get_glob(exts):
@@ -249,7 +249,7 @@ def identify():
     print 'This is %s\n' % id_str
     
 def clean_tmp():
-    my_system(['rm -f /tmp/gs*'])
+    my_system(['-rm -f /tmp/gs*'])
     
 def get_top_of_NEWS():
     i = open('NEWS.txt')
@@ -288,7 +288,11 @@ def do_examples (examples, filename):
 def main():
     identify();
 
-    os.chdir (lilydirs.topdir + 'Documentation/out')
+    os.chdir (lilydirs.topdir + 'WWW')
+    
+    my_system (['-rm ../WWW/*.pod ../WWW/*.xpm ../WWW/*.doc',
+               'ln ../Documentation/*.pod ../Documentation/*.doc ../Documentation/*.xpm .']);
+    os.chdir (lilydirs.topdir + 'WWW/out')
     __main__.depth = "../../";
     __main__.include_path = map(lambda p: __main__.depth + '/' + 
                                p, __main__.include_path)