Commit 8cf68ebe authored by Edward Longman's avatar Edward Longman
Browse files

Begin with files from Steve Gunn

parents
*.log
*.tex
*.bst
*.cls
*.bib
*.eps
#*=============================================================================
# Makefile for ecsdocs LaTeX Style
# Date: 11/05/2002
# Author: Steve Gunn
#*=============================================================================
TEXMF = C:/Apps/texlive/texmf-local
STYLE = ecsdocs
#*=============================================================================
CLSFILES = ecsthesis.cls \
ecsminithesis.cls \
ecsprogress.cls \
ecsproject.cls \
ecsreport.cls \
ecsarticle.cls \
ecsgdp.cls \
ecsgdpsummary.cls
TPLFILES = AppendixA.tex \
Article.tex \
Conclusions.tex \
Definitions.tex \
GDP.tex \
GDPSummary.tex \
Introduction.tex \
MiniThesis.tex \
Progress.tex \
Project.tex \
Report.tex \
Thesis.tex
EPSFILES = figure.eps
DOCFILES = ecsdocs.pdf
BSTFILES = ecs.bst
BIBFILES = ECS.bib
TESTFILES = Article.pdf \
GDP.pdf \
GDPSummary.pdf \
MiniThesis.pdf \
Progress.pdf \
Project.pdf \
Report.pdf \
Thesis.pdf
SRCFILES = $(STYLE).dtx \
$(STYLE).ins \
Makefile
GENFILES = $(CLSFILES) \
$(TPLFILES) \
$(EPSFILES) \
$(BSTFILES) \
$(BIBFILES)
CLSDIR = "$(TEXMF)/tex/latex/$(STYLE)"
TPLDIR = "$(TEXMF)/templates/latex/$(STYLE)"
DOCDIR = "$(TEXMF)/doc/latex/$(STYLE)"
BSTDIR = "$(TEXMF)/bibtex/bst/$(STYLE)"
BIBDIR = "$(TEXMF)/bibtex/bib/$(STYLE)"
#*===========================================================================
LATEX = pdflatex
PDFTEXIFY = texify --pdf
MAKEINDEX = makeindex
#*===========================================================================
all: $(GENFILES) $(DOCFILES)
dist: $(STYLE).zip
test: $(GENFILES) $(TESTFILES)
$(GENFILES): $(STYLE).dtx $(STYLE).ins Makefile
$(LATEX) $(STYLE).ins
$(DOCFILES): $(STYLE).dtx
$(LATEX) $(STYLE).dtx
$(MAKEINDEX) -s gind.ist -o $(STYLE).ind $(STYLE).idx
$(MAKEINDEX) -s gglo.ist -o $(STYLE).gls $(STYLE).glo
$(LATEX) $(STYLE).dtx
%.pdf: %.tex
$(PDFTEXIFY) $*.tex
#*===========================================================================
$(STYLE).zip: $(GENFILES) $(DOCFILES)
$(MAKE) clean
zip $@ $(SRCFILES) $(GENFILES) $(DOCFILES)
#*===========================================================================
clean:
-$(RM) *.aux *.log *.ind *.idx *.glo *.gls *.ilg *.toc *.bak *.lol *.lot *.out *.lof *.bbl *.blg
veryclean: clean
-$(RM) *.pdf
distclean: veryclean
-$(RM) *.cls *.tex *.eps *.bib *.bst *.zip
#*===========================================================================
install: $(GENFILES) $(DOCFILES)
install -d $(CLSDIR)
install $(CLSFILES) $(CLSDIR)
install -d $(TPLDIR)
install $(TPLFILES) $(TPLDIR)
install $(EPSFILES) $(TPLDIR)
install -d $(DOCDIR)
install $(DOCFILES) $(DOCDIR)
install -d $(BSTDIR)
install $(BSTFILES) $(BSTDIR)
install -d $(BIBDIR)
install $(BIBFILES) $(BIBDIR)
$(MAKE) clean
initexmf -u
#*===========================================================================
This diff is collapsed.
% This file requires docstrip version 2.4 available from
% ftp.dante.de tex-archive/macros/latex/unpacked/docstrip.tex
\input docstrip.tex
\preamble
Copyright (C) 2001 by Steve R. Gunn
This file is part of the ECSDocs class distribution
\endpreamble
\edef\eps{\perCent!PS-Adobe-3.0^^J%
\DoubleperCent Title: \outFileName^^J%
\DoubleperCent Creator: ECSThesis.dtx
}
\edef\tex{\DoubleperCent\space ----------------------------------------------------------------^^J%
\DoubleperCent\space\outFileName^^J%
\DoubleperCent\space ----------------------------------------------------------------
}
\edef\bib{\DoubleperCent\space ----------------------------------------------------------------^^J%
\DoubleperCent\space\outFileName^^J%
\DoubleperCent\space ----------------------------------------------------------------
}
\edef\bst{\DoubleperCent\space ----------------------------------------------------------------^^J%
\DoubleperCent\space\outFileName^^J%
\DoubleperCent\space ----------------------------------------------------------------
}
\usedir{tex/latex/ecsdocs}
\keepsilent
\askforoverwritefalse
\Msg{*** Generating thesis, minithesis and project class files ***}
\generate{\file{ecsthesis.cls} {\from{ecsdocs.dtx}{thesis}}
\file{ecsminithesis.cls} {\from{ecsdocs.dtx}{minithesis}}
\file{ecsprogress.cls} {\from{ecsdocs.dtx}{progress}}
\file{ecsproject.cls} {\from{ecsdocs.dtx}{project}}
\file{ecsreport.cls} {\from{ecsdocs.dtx}{report}}
\file{ecsarticle.cls} {\from{ecsdocs.dtx}{article}}
\file{ecsgdp.cls} {\from{ecsdocs.dtx}{gdp}}
\file{ecsgdpsummary.cls} {\from{ecsdocs.dtx}{gdpsummary}}
\file{Thesis.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testthesis}}
\file{MiniThesis.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testminithesis}}
\file{Progress.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testprogress}}
\file{Project.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testproject}}
\file{Report.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testreport}}
\file{Article.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testarticle}}
\file{GDP.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testgdp}}
\file{GDPSummary.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{testgdpsummary}}
\file{Introduction.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{introduction}}
\file{Conclusions.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{conclusions}}
\file{AppendixA.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{appendix}}
\file{figure.eps} {\usepreamble\eps
\nopostamble
\from{ecsdocs.dtx}{figure}}
\file{Definitions.tex} {\usepreamble\tex
\nopostamble
\from{ecsdocs.dtx}{definitions}}
\file{ECS.bib} {\usepreamble\bib
\nopostamble
\from{ecsdocs.dtx}{references}}
\file{ecs.bst} {\usepreamble\bst
\nopostamble
\from{ecsdocs.dtx}{bst}}
}
\endbatchfile
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment