diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/nomake.cmd')
-rw-r--r-- | Master/texmf-dist/doc/latex/disser/nomake.cmd | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/nomake.cmd b/Master/texmf-dist/doc/latex/disser/nomake.cmd new file mode 100644 index 00000000000..3ed3c9711f3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/disser/nomake.cmd @@ -0,0 +1,38 @@ +@echo off + +set target=disser +if %texmf%.==. set texmf=d:\programs\miktex\local +set destdir=%texmf%\tex\latex\%target% +set clean=*.rtx *.cls *.log *.out *.aux *.dvi *.idx *.glo *.toc *.ind *.ilg *.bak + +if %1.==. ( +:make + latex %target%.ins + echo. + echo Now run '%~n0 install' + echo. +goto :eof +) + +if %1.==. goto :eof + +if %1.==clean. ( + del %clean% + goto :eof +) + +if %1.==install. ( + if not exist %target%.cls ( + echo You must run 'nomake' first + goto :eof + ) + if not exist %destdir% mkdir %destdir% + copy /y *.rtx %destdir% > nul + copy /y *.cls %destdir% > nul + goto :eof +) + +if %1.==doc. ( + latex %target%.dtx + latex -src-specials %target%.dtx +) |