yatex

view makefile @ 27:c2ab8c69b118

for DOS.
author yuuji
date Mon, 11 Jul 1994 14:51:41 +0000
parents 21a751ddf614
children d924cf3123d3
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 -r$(VERSION) -u makefile
42 co:
43 co $(RCSFILE)
44 co-l:
45 co -l $(RCSFILE)
47 tci:
48 ci -r$(VERSION).0 -l -Ncurrent $(RCSFILE) makefile
50 dostci:
51 ci -r$(MVER).0 -Ncurrent -l @rcsfile