summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/include/latex.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/include/latex.mk')
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.mk67
1 files changed, 27 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.mk b/Master/texmf-dist/doc/latex/disser/include/latex.mk
index 14586fd20fb..b0269945088 100644
--- a/Master/texmf-dist/doc/latex/disser/include/latex.mk
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.mk
@@ -9,8 +9,8 @@ BIBFILE?=thesis.bib
ARCH?=7z
BIBTEX?=bibtex8
DVIPS?=dvips
-FIND?=/bin/find
L2H?=latex2html
+L2RTF?=latex2rtf
LATEX?=latex
PDFLATEX?=pdflatex
PS2PDF?=gs
@@ -23,7 +23,7 @@ ARCHIVE?=$(TARGET).$(ARCHEXT)
BIBTEXFLAGS?=-H -c cp1251
L2HFLAGS?=-dir html -iso_language RU.RU -split 3 -short_index \
- -numbered_footnotes -no_footnode -white -antialias -html_version 4.0
+ -numbered_footnotes -white -antialias -html_version 4.0
L2RTFFLAGS?=-F -M12 -i russian
PS2PDFFLAGS?=-dBATCH -dNOPAUSE -sDEVICE=pdfwrite -g4960x7016 -r600 \
-dCompatibilityLevel=1.2
@@ -40,6 +40,16 @@ SRCFILES?=*
dvi: $(TARGET).dvi
+clean:
+ rm -f $(CLFILES)
+ @$(MAKE) -C fig $@
+
+epstoeps epstopdf fixbb pdftopng256 pdftotiffg4:
+ @$(MAKE) -C fig $@
+
+html: $(TARGET).dvi
+ $(L2H) $(L2HFLAGS) $(TARGET).tex
+
pdf: $(TARGET).pdf
pdf_2on1: $(TARGET)_2on1.pdf
@@ -52,11 +62,11 @@ ps_2on1: $(TARGET)_2on1.ps
ps_book: $(TARGET)_book.ps
-html: $(TARGET).dvi
- $(L2H) $(L2HFLAGS) $(TARGET).tex
-
rtf: $(TARGET).rtf
+srcdist: clean
+ $(ARCH) $(ARCHFLAGS) $(ARCHIVE) $(SRCFILES)
+
$(TARGET).dvi: $(TARGET).tex
$(LATEX) $(TEXFLAGS) $^
@if [ -f $(BIBFILE) ]; then \
@@ -97,39 +107,16 @@ $(TARGET)_book.pdf: $(TARGET)_book.ps
$(TARGET).rtf: $(TARGET).dvi
$(L2RTF) $(L2RTFFLAGS) -a $(TARGET).aux -b $(TARGET).bbl $(TARGET).tex
-epstoeps:
- @$(MAKE) -C fig $@
-
-epstopdf:
- @$(MAKE) -C fig $@
-
-fixbb:
- @$(MAKE) -C fig $@
-
-srcdist:
- @$(MAKE) clean
- $(ARCH) $(ARCHFLAGS) $(ARCHIVE) $(SRCFILES)
-
-clean:
- rm -f $(CLFILES)
- rm -f html/*.*
- @$(MAKE) -C fig $@
-
help:
- @echo "Targets:"
- @echo " dvi (default) build DVI"
- @echo " clean remove output files"
- @echo " epstoeps optimize EPS files"
- @echo " epstopdf convert figures to PDF"
- @echo " fixbb fix BoundingBox of EPS files"
- @echo " help show list of targets"
- @echo " html convert to HTML"
- @echo " pdf build PDF"
- @echo " pdf_2on1 build PDF with two A5 pages on one A4 ordered by number"
- @echo " pdf_book build PDF booklet (two A5 on A4)"
- @echo " ps build PS"
- @echo " ps_2on1 build PS with two A5 pages on one A4 ordered by number"
- @echo " ps_book build PS booklet (two A5 on A4)"
- @echo " rtf convert to RTF"
- @echo " srcdist build source distribution $(ARCHIVE)"
-
+ @echo " dvi (default) build DVI"
+ @echo " clean remove output files"
+ @echo " help show description of targets"
+ @echo " html convert DVI to HTML"
+ @echo " pdf build PDF"
+ @echo " pdf_2on1 build PDF with two A5 pages on one A4 ordered by number"
+ @echo " pdf_book build PDF booklet (two A5 on A4)"
+ @echo " ps build PS"
+ @echo " ps_2on1 build PS with two A5 pages on one A4 ordered by number"
+ @echo " ps_book build PS booklet (two A5 on A4)"
+ @echo " rtf convert DVI to RTF"
+ @echo " srcdist build source distribution"