# Makefile for TeX, LaTeX and SliTeX using NFSS # # for a Unix-style Make, eg Borland one which comes with Turbo C # # Sebastian Rahtz # 1. CERN June 29th 1991 # 2. York December 1991 #------------------------------ all: latex slitex install big: biglatex spqr: big tex all # # This setup is for emTeX, including emTeX386. # it assumes you have a $(COPY) of a Unix-like `mv' program # (gnu mv included in the distribution) # # If you a Unix site, just change the lines below # to reflect your directory structure and command names. # Make sure there is a trailing directory delimiter on the path names! MV=mv COPY=copy DEL=erase COMPRESS=comp FORMATS=\\emtex\\texfmts\\ BIGFORMATS=\\emtex\\btexfmts\\ MACROLIB=\\emtex\\sotinput\\ # # I put the extra macros in a new directory; you might want to # throw them straight into \emtex\texinput or similar # LATEX=tex -i -8 BIGLATEX=tex386 -i -8 -mp65500 #---------------------------------------------------- STYLE1=times.sty bookman.sty helv.sty palatino.sty avant.sty \ basker.sty bembo.sty garamond.sty lucida.sty STYLE2=newslide.sty color.sty ncs.sty lucmaths.sty pi.sty \ epsfig.sty dingbat.sty punk.sty varsym.sty MISC=changebar.sty colorcir.eps SOURCE1= biglatex.tex fontdef.mag fontdef.unm \ psnfss.tex makefile rawfonts.tex SOURCE2=s-slitex.tex pitest.tex pfontdef.tex sfontdef.tex \ slitest.tex tests.tex latest.tex SOURCE3= epsfig.sty s-latex.tex s-lplain.tex \ mv.exe rm.exe psnfss.mfj punk.mfj tex: s-plain.fmt slitex: s-slitex.fmt latex: s-latex.fmt s-lplain.fmt biglatex: latex386.fmt s-latex.fmt: # NFSS latex $(COPY) pfontdef.tex fontdef.tex $(LATEX) s-latex s-plain.fmt: # make plain TeX $(LATEX) s-plain latex386.fmt: # make huge Mainz format $(COPY) pfontdef.tex fontdef.tex $(BIGLATEX) biglatex s-lplain.fmt: # completely plain $(LATEX) s-lplain s-slitex.fmt: # make slitex $(COPY) sfontdef.tex fontdef.tex $(LATEX) s-slitex installstyles: $(COPY) $(STYLE1) $(STYLE2) $(MISC) $(MACROLIB) clean: -$(DEL) *.log -$(DEL) *.dvi -$(DEL) *.aux realclean: clean -$(DEL) *.fmt -$(DEL) *.zoo -$(DEL) *.zip -$(DEL) *.uue -$(DEL) *.tar.Z -$(DEL) *.tZ # install does not actually check the formats have been made, it # just copies whatever has been created # install: -$(MV) s-latex.fmt $(FORMATS)newlatex.fmt -$(MV) s-plain.fmt $(FORMATS)plain.fmt -$(MV) s-lplain.fmt $(FORMATS)lplain.fmt -$(MV) s-slitex.fmt $(FORMATS)nwslitex.fmt -$(MV) biglatex.fmt $(BIGFORMATS)latex386.fmt zip-distrib: $(SOURCE1) $(SOURCE2) $(SOURCE3) $(STYLE1) $(STYLE2) $(MISC) # # bloody MSDOS! it wont let me add them all in one go, because # the line is too long. sigh. # pkzip -a psnfss $(SOURCE1) pkzip -a psnfss $(SOURCE2) pkzip -a psnfss $(SOURCE3) pkzip -a psnfss $(STYLE1) pkzip -a psnfss $(STYLE2) pkzip -a psnfss $(MISC) makeboo psnfss.zip psnfss.boo # uuencode psnfss.zip < psnfss.zip > psnfss.uue zoo-distrib: $(SOURCE1) $(SOURCE2) $(SOURCE3) $(STYLE1) $(STYLE2) $(MISC) zoo a psnfss $(SOURCE1) zoo a psnfss $(SOURCE2) zoo a psnfss $(SOURCE3) zoo a psnfss $(STYLE1) zoo a psnfss $(STYLE2) zoo a psnfss $(MISC) makeboo psnfss.zoo psnfss.boo uuencode psnfss.zoo < psnfss.zoo > psnfss.uue tar-distrib: $(SOURCE1) $(SOURCE2) $(SOURCE3) $(STYLE1) $(STYLE2) $(MISC) tar cf psnfss.tar $(SOURCE1) $(SOURCE2) $(SOURCE3) $(STYLE1) $(STYLE2) $(MISC) compress psnfss.tar uuencode psnfss.tar < psnfss.tar > psnfss.uue tar-pc: $(SOURCE1) $(SOURCE2) $(SOURCE3) $(STYLE1) $(STYLE2) tar +create +file psnfss.t $(SOURCE1) tar +append +file psnfss.t $(SOURCE2) tar +append +file psnfss.t $(SOURCE3) tar +append +file psnfss.t $(STYLE1) tar +append +file psnfss.t $(STYLE2) tar +append +file psnfss.t $(MISC) $(COMPRESS) psnfss.t makeboo psnfss.tz psnfss.boo