yatex

annotate makefile @ 24:21a751ddf614

Initial revision
author yuuji
date Thu, 07 Jul 1994 16:45:12 +0000
parents
children c2ab8c69b118
rev   line source
yuuji@24 1 #
yuuji@24 2 # Makefile for YaTeX.
yuuji@24 3 #
yuuji@24 4
yuuji@24 5 LISP = comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el yatexlib.el \
yuuji@24 6 yatexmth.el yatexhks.el yatexhlp.el yatexprc.el \
yuuji@24 7 yatexm-o.el yatexsec.el
yuuji@24 8 # \ yahatml.el
yuuji@24 9 DOCS = yatex.new docs/yatexj docs/yatexj.tex docs/yatexe docs/yatexe.tex \
yuuji@24 10 docs/yatex.ref docs/yatexadd.doc docs/yatexgen.doc docs/qanda
yuuji@24 11 HELP = help/YATEXHLP.jp
yuuji@24 12 MANIFEST= manifest
yuuji@24 13 EXTRA = dir #00readme
yuuji@24 14 DISTRIB = $(EXTRA) $(LISP) $(DOCS) $(MANIFEST) $(HELP)
yuuji@24 15 RCSFILE = $(LISP) $(DOCS) $(HELP)
yuuji@24 16 PACK = `echo $(DISTRIB)|xargs ls`
yuuji@24 17 TAR = gtar
yuuji@24 18 TMPDIR = /tmp
yuuji@24 19 VERSION = `head yatex.el|awk '/rev\./{print $$4}'`
yuuji@24 20 PACKDIR = $(TMPDIR)/yatex$(VERSION)
yuuji@24 21 EMACS = mule
yuuji@24 22
yuuji@24 23 all:
yuuji@24 24
yuuji@24 25 install:
yuuji@24 26 $(EMACS) -batch -e batch-byte-compile $(LISP)
yuuji@24 27 #install -c * $(MYELISPLIB)
yuuji@24 28
yuuji@24 29 package:
yuuji@24 30 @-mkdir $(PACKDIR)
yuuji@24 31 @tar cf - $(PACK) | (cd $(PACKDIR); tar xf -)
yuuji@24 32 find $(PACKDIR) -type f -exec chmod -x '{}' \;
yuuji@24 33 ( version=$(VERSION); cd $(TMPDIR); \
yuuji@24 34 $(TAR) vzcf $(TMPDIR)/yatex$$version.tar.gz yatex$$version)
yuuji@24 35
yuuji@24 36 ci:
yuuji@24 37 ci -r$(VERSION) -sRel -f $(RCSFILE)
yuuji@24 38 ci -r$(VERSION) -u makefile
yuuji@24 39 co:
yuuji@24 40 co $(RCSFILE)
yuuji@24 41 co-l:
yuuji@24 42 co -l $(RCSFILE)