|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: I T
Length: 10210 (0x27e2)
Types: TextFile
Names: »IMakefile«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z«
└─⟦ca79c7339⟧
└─⟦this⟧ »DVIware/laser-setters/dvi-to-ps/TeXPS/doc/IMakefile«
.SUFFIXES: .dvi .tex .tfm .pdr .pfd .evl .ps .print
# File extensions:
# LaTeX: .tex .aux .dvi .log
# Fonts: .tfm .pdr
# Encoding vector listings: .evl
# Output of driver: .ps
# Print a part of the documentation: .print
# These programs are only needed for the long and complete version
# of the paper.
#if (COND_PLTOTF == 0)
PFD2TFM = ../pfd2tfm/src/pfd2tfm -p ../pfd2tfm/evs -P ../pltotf
#else
PFD2TFM = ../pfd2tfm/src/pfd2tfm -p ../pfd2tfm/evs
#endif
PRINTPDR = ../printpdr/printpdr -P.
DVITPS = ../dvitps/src/$(DVITPS_BINARY_NAME)
DVITPS_OPT = -Fv -P../dvitps/pro -B../dvitps/capab
SRC = prel.tex intro.tex posi.tex psfonts.tex\
examples.tex examples2.tex examples3.tex tpicex.tex\
../psfig/psfig-doc.tex special.tex install.tex usage.tex\
extensions.tex appendix.tex biblio.tex local.tex todo.tex
# Same deal: all .dvi files.
DVI = prel.dvi intro.dvi posi.dvi psfonts.dvi\
examples.dvi examples2.dvi examples3.dvi tpicex.dvi\
../psfig/psfig-doc.dvi special.dvi install.dvi usage.dvi\
extensions.dvi appendix.dvi biblio.dvi local.dvi todo.dvi
# Same deal: all .ps files.
PS = prel.ps intro.ps posi.ps psfonts.ps\
examples.ps examples2.ps examples3.ps tpicex.ps\
../psfig/psfig-doc.ps special.ps install.ps usage.ps\
extensions.ps appendix.ps biblio.ps local.ps todo.ps
# Same deal: .print....
PRINT_FILES = prel.print intro.print posi.print psfonts.print\
examples.print examples2.print examples3.print tpicex.print\
../psfig/psfig-doc.print special.print install.print usage.print\
extensions.print appendix.print biblio.print local.print todo.print
all:
# Make all dvi and PostScript files. Starts from scratch: document
# is processed twice.
doc-dvi:
@cd ../dvitps; make
@cd ../printpdr; make
@cd ../pfd2tfm/src; make
@make all-dvi
# Remove all dvi files, remake them.
doc-c-dvi:
@$(RM) $(DVI)
@make doc-dvi
# Make all dvi files twice. And then the front part once more
# so that the table of contents is up to date.
doc-dvi-2:
@make doc-c-dvi
@make doc-c-dvi
$(RM) prel.dvi
@make prel.dvi
# Make all PostScript files.
doc-ps:
@make all-dvi
@make $(PS)
# Print the whole documentation.
doc-print: $(PS)
for file in $(PRINT_FILES) ; do\
make $$file;\
done
# Update all .dvi files.
all-dvi: $(DVI)
# Install some TeX macros.
install:
-mkdir $(TEX_MACROS_DIR)
cd ../psfig; make install
# Generate esself.dvi, esself.ps, which only contains the ``sales part'' of the
# document, i.e.~what is this software all about. "es.tex" is imported into "intro.tex,"
# and "esself.tex" is "es.tex" as an independent document which can be processed
# by LaTeX directly.
esself.tex: es.tex
@$(RM) $@
echo '\documentstyle{article}' >> $@
echo '\setlength{\textwidth}{6.5in}' >> $@
echo '\hoffset = -0.75in' >> $@
echo '\begin{document}' >> $@
cat es.tex >> $@
echo '\end{document}' >> $@
clean::
$(RM) esself.tex esself.dvi esself.aux esself.ps esself.log
esself.dvi: esself.tex
-$(LATEX) esself
-$(LATEX) esself
esself.ps: esself.dvi
$(DVITPS) esself.dvi > $@
intro.dvi: intro.tex CopyrightLong.tex CopyrightSources.tex es.tex
CopyrightLong.tex: ../CopyrightLong
$(CP) ../CopyrightLong $@
CopyrightSources.tex: ../CopyrightSources
$(CP) ../CopyrightSources $@
shortnote.dvi: shortnote.tex
$(LATEX) shortnote
$(LATEX) shortnote
shortnote.tex: Makefile shortnote-1.tex es.tex shortnote-2.tex
cat shortnote-1.tex es.tex shortnote-2.tex > $@
posi.dvi: posi.tex testtables.tex rules.psr
rules.psr: ../dvitps/psr/rules.psr
$(CP) ../dvitps/psr/rules.psr $@
psfonts.dvi: DefClasses.xxx EncDef-0.ev EncDef-1.ev EncDef-2.ev\
EncDiff.tex
EncDef-0.ev: ../pfd2tfm/evs/$@
sort ../pfd2tfm/evs/$@ > $@
EncDef-1.ev: ../pfd2tfm/evs/$@
sort ../pfd2tfm/evs/$@ > $@
EncDef-2.ev: ../pfd2tfm/evs/$@
sort ../pfd2tfm/evs/$@ > $@
EncDiff.tex: EncDef-0.ev EncDef-1.ev
-diff EncDef-0.ev EncDef-1.ev > $@
DefClasses.xxx: ../pfd2tfm/evs/DefClasses
$(CP) ../pfd2tfm/evs/DefClasses $@
# The examples have to be processed with the -z option of the driver in effect
# resetting the PostScript interpreter every PS_RESET_PAGES number of pages.
# See "../setup/generic.host.name/local-defs" for details.
examples.ps: examples.dvi
$(DVITPS) $(DVITPS_OPT) -z $(PS_RESET_PAGES) -O $@ examples.dvi
examples2.ps: examples2.dvi
@$(RM) $@
$(DVITPS) $(DVITPS_OPT) -z $(PS_RESET_PAGES) -O $@ examples2.dvi
examples3.ps: examples3.dvi
@$(RM) $@
$(DVITPS) $(DVITPS_OPT) -z $(PS_RESET_PAGES) -O $@ examples3.dvi
examples.dvi:\
ex-mac.tex\
PS-Helvetica.pfd PS-Helvetica.tfm PS-Helvetica.evl\
PS-Courier.pfd PS-Courier.tfm PS-Courier.evl\
PS-Times-Roman.tfm PS-Times-Roman.evl PS-Times-Roman.pfd\
PS-Times-Italic.tfm\
prcontrol.tex
#if (COND_PS_PRINTER_CLASS == 1)
examples.dvi:\
PS-AvantGarde-Book.pfd PS-AvantGarde-Book.tfm PS-AvantGarde-Book.evl\
PS-Bookman-Demi.pfd PS-Bookman-Demi.tfm PS-Bookman-Demi.evl\
PS-NewCenturySchlbk-Roman.pfd PS-NewCenturySchlbk-Roman.tfm\
PS-NewCenturySchlbk-Roman.evl\
PS-Palatino-Bold.pfd PS-Palatino-Bold.tfm PS-Palatino-Bold.evl\
PS-ZapfChancery-MediumItalic.pfd PS-ZapfChancery-MediumItalic.tfm\
PS-ZapfChancery-MediumItalic.evl\
PS-ZapfDingbats.pfd PS-ZapfDingbats.tfm PS-ZapfDingbats.evl
#endif
# This way we import the information of whether the user has a
# PostScript printer with the standard fonts Helvetica, TimesRoman, Courier
# and Symbol, or a printer (like the Laser Writer Plus or Laser Writer II)
# with some additional fonts on top of the ones just mentioned.
prcontrol.tex:
@$(RM) $@
echo '\def\PrinterClass{$(PS_PRINTER_CLASS)}' > $@
examples2.dvi:\
PS-Courier.tfm\
ex-mac.tex\
PS-Helvetica.pfd PS-Helvetica.tfm PS-Helvetica.evl\
PS-Courier.pfd PS-Courier.tfm PS-Courier.evl\
PS-Helvetica-2.pfd PS-Helvetica-2.tfm PS-Helvetica-2.evl\
PS-ExecPs.pfd PS-ExecPs.tfm\
PS-Helvetica-2-mac.tex\
PS-Times-Roman.tfm PS-Times-Roman.evl PS-Times-Roman.pfd\
PS-Times-Italic.tfm\
PS-Symbol.pfd PS-Symbol.tfm PS-Symbol.evl
examples3.dvi:\
PS-Courier.tfm ex-mac.tex\
PS-Helvetica.pfd PS-Helvetica.tfm PS-Helvetica.evl\
PS-IHelvetica.pfd PS-IHelvetica.tfm PS-IHelvetica.pdr\
PS-Times-Roman.pfd PS-Times-Roman.tfm PS-Times-Roman.pdr\
PS-Times-Italic.pfd PS-Times-Italic.tfm PS-Times-Italic.pdr\
PS-E1-cmr10.tfm PS-E1-cmr10.pfd\
PS-E2-cmr10.tfm PS-E2-cmr10.pfd\
PS-E3-cmr10.tfm PS-E3-cmr10.pfd\
slitex-control.tex
#if (COND_SLITEX_CONTROL == 0)
slitex-control.tex: Makefile
echo '\def\SliTeXControl{0}' > $@
cd SliTeX; make
#else
slitex-control.tex: Makefile
echo '\def\SliTeXControl{1}' > $@
examples3.dvi:\
SliTeX/root.tex SliTeX/slidefile.tex\
SliTeX/root-1.ps SliTeX/root-2.ps SliTeX/root-3.ps SliTeX/root-4.ps\
SliTeX/root-ps.tex SliTeX/slidefile-ps.tex\
SliTeX/root-ps-1.ps SliTeX/root-ps-2.ps SliTeX/root-ps-3.ps SliTeX/root-ps-4.ps
#endif
examples3.dvi:\
tpic-control.tex
# The tpic business starts here.
#if (COND_TPIC == 1)
SliTeX/root-1.ps: SliTeX/Makefile
cd SliTeX; make root-1.ps
SliTeX/root-2.ps: SliTeX/Makefile
cd SliTeX; make root-2.ps
SliTeX/root-3.ps: SliTeX/Makefile
cd SliTeX; make root-3.ps
SliTeX/root-4.ps: SliTeX/Makefile
cd SliTeX; make root-4.ps
SliTeX/root-ps-1.ps: SliTeX/Makefile
cd SliTeX; make root-ps-1.ps
SliTeX/root-ps-2.ps: SliTeX/Makefile
cd SliTeX; make root-ps-2.ps
SliTeX/root-ps-3.ps: SliTeX/Makefile
cd SliTeX; make root-ps-3.ps
SliTeX/root-ps-4.ps: SliTeX/Makefile
cd SliTeX; make root-ps-4.ps
tpicex.dvi:\
tpic-example-1.tex tpic-example-2.tex tpic-example-1.pic tpic-example-2.pic
tpic-example-1.tex: tpic-example-1.pic Makefile
@$(RM) $@
tpic tpic-example-1.pic
tpic-example-2.tex: tpic-example-2.pic Makefile
@$(RM) $@
tpic tpic-example-2.pic
#endif
tpicex.dvi: tpic-control.tex tpicex.tex
tpic-control.tex: Makefile
echo '\def\TpicControl{$(TPIC)}' > $@
clean::
$(RM) tpic-example-1.tex tpic-example-2.tex tpic-control.tex
../psfig/psfig-doc.dvi: ../psfig/psfig.tex ../psfig/xwindows.tex
../psfig/xwindows.tex:
cd ../psfig; make xwindows.tex
usage.dvi: usage.tex ../man/docman.tex
../man/docman.tex: ../man/Makefile
cd ../man; make docman.tex
install.dvi: local-defs.tex local-local-defs.tex makefile.top makefile.setup\
../setup-lib/setup-ld.awk ../setup-lib/setup-1.awk ../setup-lib/setup-2.awk\
../setup-lib/closing.defs
local-defs.tex: ../setup/generic.host.name/local-defs
$(CP) ../setup/generic.host.name/local-defs $@
local-local-defs.tex: ../setup/local-defs
$(CP) ../setup/local-defs $@
makefile.top: ../makefile
$(CP) ../makefile $@
makefile.setup: ../setup/makefile
$(CP) ../setup/makefile $@
# If you want to clean up this directory but leave the auxiliary files around,
# then use this goal.
clean-all-but-aux:
$(RM) *.tfm *.pdr *.tab *.evl includes.tex
$(RM) PS-Helvetica-2-mac.tex includeonly.latex tpic-example.tex
$(RM) EncDef-?.ev DefClasses.xxx EncDiff.tex
$(RM) prcontrol.tex CopyrightLong.tex
$(RM) CopyrightSources.tex rules.psr tpic-control.tex slitex-control.tex
$(RM) makefile.top makefile.setup shortnote.tex main.tex local-defs.tex
$(RM) local-local-defs.tex
$(RM) *.log *.dvi *~ $(PS) *.dvi
cd SliTeX; make clean
clean::
@make clean-all-but-aux
$(RM) *.aux
# The sed script below adds an \\appendix instruction!
includes.tex: Makefile
@$(RM) includes.tex
for file in $(SRC) ; do\
echo " \\include{$$file}" |\
sed -e 's/\.tex//' -e 's/.extensions./& \\appendix/' >>\
includes.tex;\
done
main.tex: MAIN.tex Makefile
@$(RM) $@
echo '%% DO NOT CHANGE THIS FILE, change MAIN.tex instead." >> $@
echo '\documentstyle{book}' >> $@
cat MAIN.tex >> $@
spell: texspell.out
texspell.out: $(SRC)
@$(RM) $@
texspell $(SRC)
install:
lint:
depend:
relink:
# General rules
.tex.dvi:
@$(RM) main.dvi $*.dvi $*.log $*.ps
@make includes.tex
@make main.tex
echo "\includeonly{$*}" > includeonly.latex
@echo "*********** NOW MAKING $*.dvi *********"
-$(LATEX) main.tex
-$(MV) main.dvi $*.dvi
-$(MV) main.log $*.log
@$(RM) main.ver
.tex.print:
@make $*.dvi
@make $*.ps
$(POSTSCRIPT_PRINT_COMMAND) $*.ps
.dvi.ps:
@$(RM) $*.ps
$(DVITPS) $(DVITPS_OPT) -O $*.ps $*.dvi
.pfd.tfm:
$(PFD2TFM) $*.pfd
.pfd.evl:
@$(RM) $*.evl
$(PRINTPDR) -i -w 4 $*.pdr >> $*.evl