From 9f59390d24cb860098b67f8eec223a05cde9d30c Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:51:27 +0000 Subject: [PATCH] lilypond-0.1.7 --- Documentation/Rules.make | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/Documentation/Rules.make b/Documentation/Rules.make index 7724807799..bf32a8d067 100644 --- a/Documentation/Rules.make +++ b/Documentation/Rules.make @@ -23,8 +23,13 @@ $(outdir)/%.text: $(outdir)/%.1 $(depth)/%.text: $(outdir)/%.text cp $< $@ -$(outdir)/%.html: %.pod - $(pod2html) $< +do_pod2html=$(pod2html) $< + +# do this for perl 5.004 +# $ make do_pod2html='$(pod2html) --infile $< --outfile=$@' html +# +$(outdir)/%.html: %.pod $(depth)/VERSION + $(do_pod2html) mv $(notdir $@) $(outdir)/ $(outdir)/%.5: %.pod @@ -36,16 +41,20 @@ $(outdir)/%.1: %.pod $(outdir)/%.gz: $(outdir)/% gzip -c9 $< > $@ -$(outdir)/%.dvi: $(depth)/input/%.ly $(lilyout)/lilypond - (cd $(outdir); lilypond ../$< ;\ +name-stem= $(notdir $(basename $<)) +$(outdir)/%.dvi: $(depth)/input/%.ly + (cd $(outdir); \ + rm lelie.midi ; \ + lilypond -o $(name-stem) ../$< ) + (cd $(outdir); \ if [ -f ../$(basename $< ).tex ]; \ then \ latex ../$(basename $< ) ;\ else \ - tex '\nonstopmode \input lelie' ;\ - mv lelie.dvi ../$@ ; \ + tex $(name-stem) ;\ fi) + # generate the pixmap at twice the size, then rescale (for antialiasing) $(outdir)/%.gif: $(outdir)/%.ps gs -q -sDEVICE=ppmraw -sOutputFile=- -r200 -dNOPAUSE $< -c quit |pnmscale 0.5| ppmtogif > $@ -- 2.39.5