X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmudela-rules.make;h=fa170d169806b6292e9930ef69e7897dd82a38fa;hb=0cf97b5cdceecbba937f43ac827f4065aad5001e;hp=b6c04a5e48765403ee447d7c529cc7e3fa1938a2;hpb=e319b8b2e19181a6e0864139bd94a36d66adb602;p=lilypond.git diff --git a/make/mudela-rules.make b/make/mudela-rules.make index b6c04a5e48..fa170d1698 100644 --- a/make/mudela-rules.make +++ b/make/mudela-rules.make @@ -2,12 +2,12 @@ .SUFFIXES: .doc .dvi .mudtex .tely .texi +SUBST_TEXI_DEPS=sed 's! \.\./! !g' < $(basename $@).dep > $(outdir)/temp.dep ; mv $(outdir)/temp.dep $(basename $@).dep + $(outdir)/%.latex: %.doc - cd $(outdir); $(PYTHON) $(depth)/../scripts/mudela-book.py -I .. -I $(depth)/../input/test/ --dependencies ../$< -# sed 's! \.\./! !g'< $(basename $@).dep > $(outdir)/temp.dep -# sed 's!^\(.*\):!'$(outdir)'/\1:!g' < $(outdir)/temp.dep > $(basename $@).dep -# rm $(outdir)/temp.dep + cd $(outdir); $(PYTHON) $(depth)/../scripts/mudela-book.py -I .. -I $(depth)/../input/test/ --dependencies --dep-prefix=$(outdir)/ ../$< + $(SUBST_TEXI_DEPS) $(outdir)/%.texi: %.tely - cd $(outdir); $(PYTHON) $(depth)/../scripts/mudela-book.py -I .. -I $(depth)/../input/test/ --dependencies --format=texi ../$< - + cd $(outdir); $(PYTHON) $(depth)/../scripts/mudela-book.py -I .. -I $(depth)/../input/test/ --dependencies --dep-prefix=$(outdir)/ --format=texi ../$< + $(SUBST_TEXI_DEPS)