Mercurial > hgrepos > hgweb.cgi > yatex
annotate makefile @ 41:0aca40805e70
Call install command by a variable not by a literal command name.
author | yuuji |
---|---|
date | Thu, 14 Jul 1994 18:09:20 +0000 |
parents | 627c45ade5b0 |
children | ced6eb72f63b |
rev | line source |
---|---|
24 | 1 # |
2 # Makefile for YaTeX. | |
3 # | |
4 | |
27 | 5 MVER = 1.50 |
24 | 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 | |
27 | 10 DOCS = $(DOCSRC) $(DOCOBJ) |
11 DOCSRC = yatex.new docs/yatexj.tex docs/yatexe.tex \ | |
24 | 12 docs/yatex.ref docs/yatexadd.doc docs/yatexgen.doc docs/qanda |
27 | 13 DOCOBJ = docs/yatexj docs/yatexe |
24 | 14 HELP = help/YATEXHLP.jp |
15 MANIFEST= manifest | |
27 | 16 EXTRA = dir install 00readme |
24 | 17 DISTRIB = $(EXTRA) $(LISP) $(DOCS) $(MANIFEST) $(HELP) |
27 | 18 RCSFILE = $(LISP) $(DOCSRC) $(HELP) |
24 | 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 | |
41
0aca40805e70
Call install command by a variable not by a literal command name.
yuuji
parents:
40
diff
changeset
|
25 INSTALL = install -c |
24 | 26 |
27 all: | |
28 | |
29 install: | |
30 $(EMACS) -batch -e batch-byte-compile $(LISP) | |
41
0aca40805e70
Call install command by a variable not by a literal command name.
yuuji
parents:
40
diff
changeset
|
31 #$(INSTALL) * $(MYELISPLIB) |
24 | 32 |
33 package: | |
34 @-mkdir $(PACKDIR) | |
35 @tar cf - $(PACK) | (cd $(PACKDIR); tar xf -) | |
36 find $(PACKDIR) -type f -exec chmod -x '{}' \; | |
37 ( version=$(VERSION); cd $(TMPDIR); \ | |
38 $(TAR) vzcf $(TMPDIR)/yatex$$version.tar.gz yatex$$version) | |
39 | |
40 ci: | |
41 ci -r$(VERSION) -sRel -f $(RCSFILE) | |
39 | 42 ci -u$(VERSION) makefile |
40 | 43 |
24 | 44 co: |
45 co $(RCSFILE) | |
40 | 46 |
24 | 47 co-l: |
48 co -l $(RCSFILE) | |
27 | 49 |
50 tci: | |
39 | 51 ci -l$(VERSION).0 -Ncurrent $(RCSFILE) makefile |
27 | 52 |
53 dostci: | |
39 | 54 ci -l$(MVER).0 -Ncurrent @rcsfile |
27 | 55 |
35 | 56 gohome: |
57 zip -u -r /com/okoma/yuuji/tmp/dosconv/yatex.zip . \ | |
58 -x '*RCS/*' -x 'texinfo/*' |