From: Mark Wooding Date: Sat, 5 Sep 2020 13:32:33 +0000 (+0100) Subject: Makefile.m4: Squish the (rather dull) build rules. X-Git-Url: https://git.distorted.org.uk/~mdw/mdwtools/commitdiff_plain/d59b624ca318ec316889c4ee10ddc9d01d40e96a Makefile.m4: Squish the (rather dull) build rules. --- diff --git a/Makefile.m4 b/Makefile.m4 index 9ca06e4..a9b2f9e 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -67,14 +67,10 @@ define(`run_latex', `latex "\def\indexing{n} \nonstopmode \input $<" makeindex -s gind.ist $`'*.idx latex "\def\indexing{n} \nonstopmode \input $<"') -.dtx.dvi: - run_latex -.tex.dvi: - run_latex -.dvi.ps: - dvips -e0 -o $@ $< -.ps.pdf: - ps2pdf $< $@ +.dtx.dvi:; run_latex +.tex.dvi:; run_latex +.dvi.ps:; dvips -e0 -o $@ $< +.ps.pdf:; ps2pdf $< $@ $(DVI): gpl.tex $(OBJ) mdwtools.tex