diff options
author | Karl Berry <karl@freefriends.org> | 2009-04-15 18:27:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-04-15 18:27:58 +0000 |
commit | 1a04c4958efaf6b4b8b9d2464a222f61de314ef5 (patch) | |
tree | a10805300b448de2375ac01d834fefdd3a2705d5 /Master/texmf-dist/doc/latex/disser/nomake.cmd | |
parent | 88f7d1ac35385d57d17eb60fb2d77f6704eadde5 (diff) |
disser update (14apr09)
git-svn-id: svn://tug.org/texlive/trunk@12723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/nomake.cmd')
-rw-r--r-- | Master/texmf-dist/doc/latex/disser/nomake.cmd | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/nomake.cmd b/Master/texmf-dist/doc/latex/disser/nomake.cmd index b11cee26211..ab194a768f2 100644 --- a/Master/texmf-dist/doc/latex/disser/nomake.cmd +++ b/Master/texmf-dist/doc/latex/disser/nomake.cmd @@ -8,21 +8,27 @@ if "%CMDEXTVERSION%"=="" ( goto :eof ) -if "%target%"=="" set target=disser +setlocal enabledelayedexpansion + +set target=disser set subclass=gost732 set bst=disser-bst +set manual=manual -if "%texmf%"=="" set texmf=%programfiles%\miktex +set clsfiles=*.cls *.rtx +set docfiles=%subclass%.pdf %target%.pdf %subclass%.pdf %manual%.pdf ^ +..\README ..\README.ru ..\ChangeLog +set bstfile=%target%.bst +set bstdocfile=%bst%.pdf +set srcfiles=*.dtx *.ins %manual%.tex Makefile nomake.cmd -if "%clsdir%"=="" set clsdir=%texmf%\tex\latex\%target% -if "%bstdir%"=="" set bstdir=%texmf%\bibtex\bst\%target% -if "%docdir%"=="" set docdir=%texmf%\doc\latex\%target% -if "%bstdocdir%"=="" set bstdocdir=%texmf%\doc\bibtex\%target% +if "!texmf!"=="" set texmf=%programfiles%\miktex -if "%clsfiles%"=="" set clsfiles=*.cls *.rtx -if "%docfiles%"=="" set docfiles=%target%.dvi %subclass%.pdf %target%.pdf %subclass%.pdf -if "%bstdocfiles%"=="" set bstdocfiles=%bst%.dvi %bst%.pdf -if "%bstfiles%"=="" set bstfiles=%target%.bst +if "%clsdir%"=="" set clsdir=!texmf!\tex\latex\%target% +if "%bstdir%"=="" set bstdir=!texmf!\bibtex\bst\%target% +if "%docdir%"=="" set docdir=!texmf!\doc\latex\%target% +if "%bstdocdir%"=="" set bstdocdir=!texmf!\doc\bibtex\%target% +if "%srcdir%"=="" set srcdir=!texmf!\source\latex\%target% if "%clfiles%"=="" set clfiles=*.rtx *.cls *.log *.out *.aux *.dvi *.ind ^ *.idx *.ilg *.glo *.toc *.ind *.bak *.bbl *.blg *.pdf *.sav *.ps *.bst @@ -65,7 +71,6 @@ goto :eof if "%1"=="doc" ( :doc - call :dvi call :pdf goto :eof ) @@ -79,6 +84,8 @@ if "%1"=="dvi" ( %latex% %latexflags% %subclass%.dtx %latex% %latexflags% %bst%.dtx %latex% %latexflags% %bst%.dtx + %latex% %latexflags% %manual%.tex + %latex% %latexflags% %manual%.tex goto :eof ) @@ -91,6 +98,8 @@ if "%1"=="pdf" ( %pdflatex% %pdflatexflags% %subclass%.dtx %pdflatex% %pdflatexflags% %bst%.dtx %pdflatex% %pdflatexflags% %bst%.dtx + %pdflatex% %pdflatexflags% %manual%.tex + %pdflatex% %pdflatexflags% %manual%.tex goto :eof ) @@ -100,19 +109,20 @@ if "%1"=="install" ( if not exist "%clsdir%" md "%clsdir%" if not exist "%docdir%" md "%docdir%" if not exist "%bstdir%" md "%bstdir%" - if not exist "%bstdocdir%" md "%bstdocdir%" + if not exist "%srcdir%" md "%srcdir%" for %%f in (%clsfiles%) do xcopy /y /f %%f "%clsdir%" for %%f in (%docfiles%) do xcopy /y /f %%f "%docdir%" - for %%f in (%bstfiles%) do xcopy /y /f %%f "%bstdir%" - for %%f in (%bstdocfiles%) do xcopy /y /f %%f "%bstdocdir%" + for %%f in (%bstfile%) do xcopy /y /f %%f "%bstdir%" + for %%f in (%bstdocfile%) do xcopy /y /f %%f "%docdir%" + for %%f in (%srcfiles%) do xcopy /y /f %%f "%srcdir%" goto :eof ) if "%1"=="help" ( :help - echo List of targets: + echo Targets: echo all ^(default^) build classes and documentation - echo class build classes + echo class build class echo clean remove ouptut files echo doc build documentation echo dvi build DVI version of documentation |