diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/filehdr/Makefile |
Initial commit
Diffstat (limited to 'support/filehdr/Makefile')
-rw-r--r-- | support/filehdr/Makefile | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/support/filehdr/Makefile b/support/filehdr/Makefile new file mode 100644 index 0000000000..e7f661fce1 --- /dev/null +++ b/support/filehdr/Makefile @@ -0,0 +1,182 @@ +#======================================================================= +# Makefile for files in ~beebe/tex/talks/filehdr +# +# [30-Aug-1993] +#======================================================================= + +COMPRESS = compress + +CP = /bin/cp -p + +CPP = /lib/cpp -P + +BIBTEX = bibtex + +DETEX = detex -n + +DIST-FILES = Makefile filehdr.bbl filehdr.bib filehdr.dvi filehdr.el \ + filehdr.info filehdr.ltx filehdr.sok makeinfo rcs.sty + +DVIALW = dvialw -back + +FTPDIR = /u/ftp/pub/tex/bib + +INDEX-FILES = filehdr.cp filehdr.fn filehdr.pg filehdr.tp filehdr.vr + +ISPELL = ispell + +LATEX = latex + +LN = ln -s + +MAKEINDEX = makeindex + +MV = /bin/mv + +PSVIEW = gs -g700x1000+2+2 + +RM = /bin/rm -f + +SED = /bin/sed + +SHELL = /bin/sh + +SPELL = spell + +TEXINDEX = texindex + +UNZIP = unzip + +VERSION = `nawk '/^;;; *version * = / \ + { gsub(/[^0-9.]/,"",$$4); print $$4 }' filehdr.el` + +ZIP = zip + +ZOO = zoo + +#======================================================================= + +.SUFFIXES: + +.SUFFIXES: .dvi-alw .dvi .ltx + +.ltx.dvi: + $(LATEX) $< + +.dvi.dvi-alw: + $(DVIALW) $< +# $(PSVIEW) $*.dvi-alw quit.ps + +#======================================================================= + +all: filehdr.dvi filehdr.info + +clean: + -$(RM) *.blg + -$(RM) *.cps + -$(RM) *.dvi + -$(RM) *.dvi-alw + -$(RM) *.fns + -$(RM) *.ilg + -$(RM) *.isp + -$(RM) *.kys + -$(RM) *.log + -$(RM) *.o + -$(RM) *.pgs + -$(RM) *.spl + -$(RM) *.tar + -$(RM) *.tar-lst + -$(RM) *.tps + -$(RM) *.vrs + -$(RM) *.zip + -$(RM) *.zip-lst + -$(RM) *.zoo + -$(RM) *.zoo-lst + -$(RM) *~ + -$(RM) \#* + -$(RM) core + +clobber: clean + -$(RM) *.aux + -$(RM) *.bbl + -$(RM) *.cp + -$(RM) *.elc + -$(RM) *.fn + -$(RM) *.info + -$(RM) *.ky + -$(RM) *.lof + -$(RM) *.lot + -$(RM) *.pg + -$(RM) *.toc + -$(RM) *.tp + -$(RM) *.vr + +# Comment out the command line here if you don't have the doubled-word +# utility installed. It is available via anonymous ftp from +# ftp.math.utah.edu in pub/misc. +dw: + -$(DETEX) <filehdr.ltx | dw + +# LaTeXinfo doesn't define ties, so we need to remove them from the +# bibliography +filehdr.bbl: filehdr.aux filehdr.bib + $(BIBTEX) filehdr + $(MV) filehdr.bbl /tmp/filehdr.bbl + $(SED) -e 's/~/ /g' </tmp/filehdr.bbl >filehdr.bbl + +filehdr.dvi: filehdr.ltx filehdr.bib + -$(MAKE) dw filehdr.spl filehdr.isp + $(LATEX) filehdr.ltx + $(MAKE) filehdr.bbl + $(TEXINDEX) $(INDEX-FILES) + $(LATEX) filehdr.ltx + $(TEXINDEX) $(INDEX-FILES) + $(LATEX) filehdr.ltx + +filehdr.info: filehdr.ltx + ./makeinfo filehdr.ltx + +filehdr.tar: $(DIST-FILES) + -$(RM) filehdr.tar filehdr.tar-lst + tar chf filehdr.tar $(DIST-FILES) + -mkdir filehdr-$(VERSION) + cd filehdr-$(VERSION); tar xf ../filehdr.tar + tar cf filehdr-$(VERSION).tar filehdr-$(VERSION) + -$(RM) -r filehdr-$(VERSION) + -$(RM) filehdr.tar + $(LN) filehdr-$(VERSION).tar filehdr.tar + +filehdr.zip: $(DIST-FILES) + -$(RM) filehdr*.zip + -$(RM) filehdr*.zip-lst + $(ZIP) filehdr-$(VERSION).zip $(DIST-FILES) + $(UNZIP) -v filehdr-$(VERSION).zip >filehdr-$(VERSION).zip-lst + $(LN) filehdr-$(VERSION).zip filehdr.zip + +filehdr.zoo: $(DIST-FILES) + -$(RM) filehdr*.zoo + -$(RM) filehdr*.zoo-lst + $(ZOO) a filehdr-$(VERSION).zoo $(DIST-FILES) + $(ZOO) v filehdr-$(VERSION).zoo >filehdr-$(VERSION).zoo-lst + $(LN) filehdr-$(VERSION).zoo filehdr.zoo + +install: DATE-INSTALLED + +DATE-INSTALLED: filehdr.tar filehdr.zip filehdr.zoo + tar tvf filehdr-$(VERSION).tar >$(FTPDIR)/filehdr-$(VERSION).tar-lst + $(COMPRESS) <filehdr-$(VERSION).tar >$(FTPDIR)/filehdr-$(VERSION).tar.z + $(CP) filehdr-$(VERSION).zip $(FTPDIR) + $(CP) filehdr-$(VERSION).zip-lst $(FTPDIR) + $(CP) filehdr-$(VERSION).zoo $(FTPDIR) + $(CP) filehdr-$(VERSION).zoo-lst $(FTPDIR) + $(CP) filehdr.el $(FTPDIR) + ls -l $(FTPDIR)/file* + date >DATE-INSTALLED + +filehdr.spl spell: + -$(DETEX) <filehdr.ltx | $(SPELL) +filehdr.sok >filehdr.spl + @/bin/cat filehdr.spl + +filehdr.isp ispell: + -$(DETEX) <filehdr.ltx | $(ISPELL) -l -p filehdr.sok >filehdr.isp + @/bin/cat filehdr.isp |