yatex

view makefile @ 39:261fcd6d4ad7

-rREV -l => -lREV
author yuuji
date Thu, 14 Jul 1994 17:59:30 +0000
parents d924cf3123d3
children 627c45ade5b0
line source
1 #
2 # Makefile for YaTeX.
3 #
5 MVER = 1.50
6 LISP = comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el yatexlib.el \
7 yatexmth.el yatexhks.el yatexhlp.el yatexprc.el \
8 yatexm-o.el yatexsec.el
9 # \ yahatml.el
10 DOCS = $(DOCSRC) $(DOCOBJ)
11 DOCSRC = yatex.new docs/yatexj.tex docs/yatexe.tex \
12 docs/yatex.ref docs/yatexadd.doc docs/yatexgen.doc docs/qanda
13 DOCOBJ = docs/yatexj docs/yatexe
14 HELP = help/YATEXHLP.jp
15 MANIFEST= manifest
16 EXTRA = dir install 00readme
17 DISTRIB = $(EXTRA) $(LISP) $(DOCS) $(MANIFEST) $(HELP)
18 RCSFILE = $(LISP) $(DOCSRC) $(HELP)
19 PACK = `echo $(DISTRIB)|xargs ls`
20 TAR = gtar
21 TMPDIR = /tmp
22 VERSION = `head yatex.el|awk '/rev\./{print $$4}'`
23 PACKDIR = $(TMPDIR)/yatex$(VERSION)
24 EMACS = mule
26 all:
28 install:
29 $(EMACS) -batch -e batch-byte-compile $(LISP)
30 #install -c * $(MYELISPLIB)
32 package:
33 @-mkdir $(PACKDIR)
34 @tar cf - $(PACK) | (cd $(PACKDIR); tar xf -)
35 find $(PACKDIR) -type f -exec chmod -x '{}' \;
36 ( version=$(VERSION); cd $(TMPDIR); \
37 $(TAR) vzcf $(TMPDIR)/yatex$$version.tar.gz yatex$$version)
39 ci:
40 ci -r$(VERSION) -sRel -f $(RCSFILE)
41 ci -u$(VERSION) makefile
42 co:
43 co $(RCSFILE)
44 co-l:
45 co -l $(RCSFILE)
47 tci:
48 ci -l$(VERSION).0 -Ncurrent $(RCSFILE) makefile
50 dostci:
51 ci -l$(MVER).0 -Ncurrent @rcsfile
53 gohome:
54 zip -u -r /com/okoma/yuuji/tmp/dosconv/yatex.zip . \
55 -x '*RCS/*' -x 'texinfo/*'