]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/tex-rules.make
release: 1.1.69
[lilypond.git] / stepmake / stepmake / tex-rules.make
index ccbb7c3ab1fe97adcd619dbcbdbb7fe924f9c7b0..bd8aee3ceb1c45c11aceec87a7aead71cb5bec0d 100644 (file)
@@ -1,4 +1,6 @@
 
+$(outdir)/%.tex: %.tex
+       cp $< $@
 
 $(outdir)/%.dvi: $(outdir)/%.tex
        (cd $(outdir); tex \\nonstopmode \\input $(<F))
@@ -6,10 +8,10 @@ $(outdir)/%.dvi: $(outdir)/%.tex
 $(outdir)/%.dvi: $(outdir)/%.latex
        (cd $(outdir)&& \
          latex \\nonstopmode \\input $(<F)&&\
-         bibtex $(basename $(<F))&&\
+         (bibtex $(basename $(<F)) || true) && \
          latex \\nonstopmode \\input $(<F)&&\
-         latex \\nonstopmode \\input $(<F)&&\
-       )
+kk       (makeindex $(basename $(<F)) || true) && \
+         latex \\nonstopmode \\input $(<F) )
 
 $(outdir)/%.ps: $(outdir)/%.dvi
        dvips -ta4 -o $@ $<