summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/nomake.cmd
diff options
context:
space:
mode:
authorDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:28:53 +0000
committerDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:28:53 +0000
commit4f27dd85b17214cfe01fad1772840f3a3b9d88a1 (patch)
treeb67a43b38cb544d442042a0bda3e2ed1c63db905 /Master/texmf-dist/doc/latex/disser/nomake.cmd
parent9e9aecddd3e49a9bb616309887effea00fdbfdd6 (diff)
disser 1.1.0
git-svn-id: svn://tug.org/texlive/trunk@11501 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.cmd33
1 files changed, 24 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/nomake.cmd b/Master/texmf-dist/doc/latex/disser/nomake.cmd
index a85368fd2a7..b11cee26211 100644
--- a/Master/texmf-dist/doc/latex/disser/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/nomake.cmd
@@ -9,18 +9,27 @@ if "%CMDEXTVERSION%"=="" (
)
if "%target%"=="" set target=disser
-
set subclass=gost732
+set bst=disser-bst
if "%texmf%"=="" set texmf=%programfiles%\miktex
-if "%destdir%"=="" set destdir=%texmf%\tex\latex\%target%
+
+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 "%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 "%clfiles%"=="" set clfiles=*.rtx *.cls *.log *.out *.aux *.dvi *.ind ^
-*.idx *.ilg *.glo *.toc *.ind *.bak *.bbl *.blg *.pdf *.sav *.ps
+*.idx *.ilg *.glo *.toc *.ind *.bak *.bbl *.blg *.pdf *.sav *.ps *.bst
if "%latex%"=="" set latex=latex
if "%pdflatex%"=="" set pdflatex=pdflatex
-set mi=makeindex
+if "%mi%"=="" set mi=makeindex
if "%latexflags%"=="" set latexflags=-src-specials
if "%pdflatexflags%"=="" set pdflatexflags=""
@@ -68,6 +77,8 @@ if "%1"=="dvi" (
%latex% %latexflags% %target%.dtx
%latex% %latexflags% %subclass%.dtx
%latex% %latexflags% %subclass%.dtx
+ %latex% %latexflags% %bst%.dtx
+ %latex% %latexflags% %bst%.dtx
goto :eof
)
@@ -78,18 +89,22 @@ if "%1"=="pdf" (
%pdflatex% %pdflatexflags% %target%.dtx
%pdflatex% %pdflatexflags% %subclass%.dtx
%pdflatex% %pdflatexflags% %subclass%.dtx
+ %pdflatex% %pdflatexflags% %bst%.dtx
+ %pdflatex% %pdflatexflags% %bst%.dtx
goto :eof
)
if "%1"=="install" (
:install
if not exist %target%.cls call :all
- if not exist "%destdir%" md "%destdir%"
+ if not exist "%clsdir%" md "%clsdir%"
if not exist "%docdir%" md "%docdir%"
- xcopy /y /f *.rtx "%destdir%"
- xcopy /y /f *.cls "%destdir%"
- xcopy /y /f *.dvi "%docdir%"
- xcopy /y /f *.pdf "%docdir%"
+ if not exist "%bstdir%" md "%bstdir%"
+ if not exist "%bstdocdir%" md "%bstdocdir%"
+ 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%"
goto :eof
)