diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/texpower/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/texpower/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/texpower/Makefile b/Master/texmf-dist/source/latex/texpower/Makefile new file mode 100644 index 00000000000..2090f272cac --- /dev/null +++ b/Master/texmf-dist/source/latex/texpower/Makefile @@ -0,0 +1,59 @@ +RM=rm -f +SHELL=sh +VERSION=0.1b +JUNKS=*.aux *.toc *.idx *.glo *.dvi *.log *.lof *.ist *.ilg *.ind *.gls *.out *.tmp *~ + +help: + @echo '**********************************************' + @echo ' The following targets exist: ' + @echo ' - all: All targets below ' + @echo ' - unpack: Unpacks the bundle ' + @echo ' - pack: Packs the bundle ' + @echo ' - manual: Builds the user docs ' + @echo ' - doc: Builds texpower package docs ' + @echo ' - doc-powersem: Builds powersem class docs ' + @echo ' - clean: Remove all generate/junk files ' + @echo '**********************************************' + +unpack: + latex tpbundle.ins + @echo '**********************************************' + @echo ' To make texpower bundle user documentation, ' + @echo ' % make manual ' + @echo ' To make texpower package implementation docs ' + @echo ' % make doc ' + @echo ' To make powersem class implementation docs ' + @echo ' % make doc-powersem ' + @echo '**********************************************' + +all: unpack doc doc-powersem manual + +manual.tex: unpack + +doc: texpower.dtx + pdflatex texpower.dtx + pdflatex texpower.dtx + makeindex -s gglo.ist -o texpower.gls texpower.glo + makeindex -s gind.ist -o texpower.ind texpower.idx + pdflatex texpower.dtx + +doc-powersem: + pdflatex powersem.dtx + pdflatex powersem.dtx + makeindex -s gglo.ist -o powersem.gls powersem.glo + makeindex -s gind.ist -o powersem.ind powersem.idx + pdflatex powersem.dtx + +manual: manual.tex + pdflatex manual.tex + pdflatex manual.tex + makeindex -o manual.ind manual.idx + pdflatex manual.tex + +pack: clean + -(cd ..; cp -r dtx-real texpower-$(VERSION); \ + tar cvfz texpower-$(VERSION).tgz texpower-$(VERSION)) + +clean: + @$(RM) $(JUNKS) *.cls *.sty *.cfg *.tex *.mps + @echo The current directory has been cleaned up. |