# HG changeset patch # User yuuji # Date 773599512 0 # Node ID 21a751ddf61451ef8a7466b874881113f3f1053f # Parent b00c74813e5698c0c65d1d3aa0922562ac499399 Initial revision diff -r b00c74813e56 -r 21a751ddf614 makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/makefile Thu Jul 07 16:45:12 1994 +0000 @@ -0,0 +1,42 @@ +# +# Makefile for YaTeX. +# + +LISP = comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el yatexlib.el \ + yatexmth.el yatexhks.el yatexhlp.el yatexprc.el \ + yatexm-o.el yatexsec.el +# \ yahatml.el +DOCS = yatex.new docs/yatexj docs/yatexj.tex docs/yatexe docs/yatexe.tex \ + docs/yatex.ref docs/yatexadd.doc docs/yatexgen.doc docs/qanda +HELP = help/YATEXHLP.jp +MANIFEST= manifest +EXTRA = dir #00readme +DISTRIB = $(EXTRA) $(LISP) $(DOCS) $(MANIFEST) $(HELP) +RCSFILE = $(LISP) $(DOCS) $(HELP) +PACK = `echo $(DISTRIB)|xargs ls` +TAR = gtar +TMPDIR = /tmp +VERSION = `head yatex.el|awk '/rev\./{print $$4}'` +PACKDIR = $(TMPDIR)/yatex$(VERSION) +EMACS = mule + +all: + +install: + $(EMACS) -batch -e batch-byte-compile $(LISP) + #install -c * $(MYELISPLIB) + +package: + @-mkdir $(PACKDIR) + @tar cf - $(PACK) | (cd $(PACKDIR); tar xf -) + find $(PACKDIR) -type f -exec chmod -x '{}' \; + ( version=$(VERSION); cd $(TMPDIR); \ + $(TAR) vzcf $(TMPDIR)/yatex$$version.tar.gz yatex$$version) + +ci: + ci -r$(VERSION) -sRel -f $(RCSFILE) + ci -r$(VERSION) -u makefile +co: + co $(RCSFILE) +co-l: + co -l $(RCSFILE)