diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/bigfoot/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/bigfoot/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bigfoot/Makefile b/Master/texmf-dist/doc/latex/bigfoot/Makefile new file mode 100644 index 00000000000..eb4867d5556 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bigfoot/Makefile @@ -0,0 +1,49 @@ +TEX=tex +PDFLATEX=pdflatex +DTX=bigfoot.dtx suffix.dtx perpage.dtx +DIST=README COPYING $(DTX) Makefile bigfoot.ins +DOC=$(DTX:.dtx=.pdf) + +all: $(DIST) $(DTX:.dtx=.sty) $(DOC) + +bigfoot-mk.ins: bigfoot.dtx Makefile + $(TEX) '\nonstopmode \def\jobname{.ins}\input docstrip ' \ + '\askforoverwritefalse \nopreamble' \ + '\generate{\file{bigfoot-mk.ins}{\from{bigfoot.dtx}{installer,make}}}' \ + '\endbatchfile' + +# Not generated by bigfoot-mk.ins in order to allow for hand-editing, +# like putting debug options in +bigfoot.ins: bigfoot.dtx Makefile + $(TEX) '\nonstopmode \def\jobname{.ins}\input docstrip ' \ + '\askforoverwritefalse \nopreamble' \ + '\generate{\file{bigfoot.ins}{\from{bigfoot.dtx}{installer}}}' \ + '\endbatchfile' + +bigfoot.drv bigfoot.sty perpage.drv perpage.sty suffix.drv suffix.sty: bigfoot-mk.ins + $(TEX) bigfoot-mk.ins + +bigfoot.drv bigfoot.sty: bigfoot.dtx +perpage.drv perpage.sty: perpage.dtx +suffix.drv suffix.sty: suffix.dtx + +bigfoot.pdf: bigfoot.dtx bigfoot.drv bigfoot.sty perpage.sty suffix.sty + $(PDFLATEX) '\nonstopmode\input{bigfoot.drv}' + $(PDFLATEX) '\nonstopmode\input{bigfoot.drv}' + $(PDFLATEX) '\nonstopmode\input{bigfoot.drv}' + +perpage.pdf: perpage.dtx perpage.drv + $(PDFLATEX) '\nonstopmode\input{perpage.drv}' + $(PDFLATEX) '\nonstopmode\input{perpage.drv}' + $(PDFLATEX) '\nonstopmode\input{perpage.drv}' + +suffix.pdf: suffix.dtx suffix.drv + $(PDFLATEX) '\nonstopmode\input{suffix.drv}' + $(PDFLATEX) '\nonstopmode\input{suffix.drv}' + $(PDFLATEX) '\nonstopmode\input{suffix.drv}' + +bigfoot.tar.gz: $(DIST) + tar czf $@ $(DIST) + +bigfoot-ctan.tar.gz: $(DIST) $(DOC) + tar czf $@ --transform 's,^\(\./\)\?,bigfoot/,' $(DIST) $(DOC) |