yatex

view makefile @ 25:ab9c4c4f9f7a

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