diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/listings/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/listings/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/listings/Makefile b/Master/texmf-dist/source/latex/listings/Makefile index e93bffe666f..5792254ad4d 100644 --- a/Master/texmf-dist/source/latex/listings/Makefile +++ b/Master/texmf-dist/source/latex/listings/Makefile @@ -58,27 +58,29 @@ listings.sty: listings.ins listings.dtx lstdrvrs.dtx $(TEX) $< listings.pdf: listings.sty - rm -f ltxdoc.cfg + echo "\PassOptionsToClass{a4paper}{article}" > ltxdoc.cfg $(LATEX) ${<:.sty=.dtx} $(MAKEINDEX) -s gind.ist ${@:.pdf=} $(LATEX) ${<:.sty=.dtx} $(LATEX) ${<:.sty=.dtx} + rm -f ltxdoc.cfg listings-devel.pdf: listings.sty - rm -rf ltxdoc.cfg - echo "\AtBeginDocument{\AlsoImplementation}" > ltxdoc.cfg + echo "\PassOptionsToClass{a4paper}{article}" > ltxdoc.cfg + echo "\AtBeginDocument{\AlsoImplementation}" >> ltxdoc.cfg $(LATEX) -jobname=${@:.pdf=} ${<:.sty=.dtx} $(MAKEINDEX) -s gind.ist ${@:.pdf=} $(LATEX) -jobname=${@:.pdf=} ${<:.sty=.dtx} $(LATEX) -jobname=${@:.pdf=} ${<:.sty=.dtx} - rm -rf ltxdoc.cfg + rm -f ltxdoc.cfg lstdrvrs.pdf: lstdrvrs.dtx - rm -f ltxdoc.cfg + echo "\PassOptionsToClass{a4paper}{article}" > ltxdoc.cfg $(LATEX) ${<:.sty=.dtx} $(MAKEINDEX) -s gind.ist lstdrvrs $(LATEX) ${<:.sty=.dtx} $(LATEX) ${<:.sty=.dtx} + rm -f ltxdoc.cfg ## Testing targets acm-tests: |