yatex

changeset 67:ced6eb72f63b

*** empty log message ***
author yuuji
date Tue, 16 Dec 1997 13:34:57 +0000
parents dd4887f78a1f
children 0eb6997bee16
files 00readme makefile
diffstat 2 files changed, 137 insertions(+), 41 deletions(-) [+]
line diff
     1.1 --- a/00readme	Tue Dec 16 13:33:40 1997 +0000
     1.2 +++ b/00readme	Tue Dec 16 13:34:57 1997 +0000
     1.3 @@ -1,14 +1,8 @@
     1.4 -xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     1.5 -$B!&(B1997$BG/(B3$B7n(B10$BF|!"!VMkD;!W$N:n<T$G$"$j!"!VLnD;!W$N@.D9$KBg$-$J9W8%$r$7$F(B
     1.6 -  $B2<$5$C$?7K@nD>8J$5$s$,8rDL;v8N$K$h$j$*K4$/$J$j$K$J$j$^$7$?!#LnD;%U%!%_(B
     1.7 -  $B%j!<$O$+$1$,$($NL5$$Bg$-$JB8:_$r<:$C$F$7$^$$$^$7$?!#$b$7$h$m$7$1$l$P!"(B
     1.8 -  $BH`$N%2%9%H%V%C%/$K46<U$HDIEi$N5$;}$A$r;D$7$F2<$5$$$^$;$s$+!#(B
     1.9 -  http://www.comp.ae.keio.ac.jp/~lune/
    1.10 -  $B$+$i!V(Bguest book$B!W$H$$$&%j%s%/$r$?$I$C$F2<$5$$!#(B
    1.11 -xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    1.12  $B!&!VLnD;!W$*$h$S$=$N(B Vz $B$X$N0\?"HG$G$"$k!VMkD;!W!"(BWz$B$X$N0\?"HG$G$"$k!VGr(B
    1.13    $BD;!W$K4X$9$k>pJs8r49$N$?$a$N%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N2q!W$K@'Hs8f;22C(B
    1.14 -  $B$/$@$5$$!#>\$7$/$O(B docs/qanda $B%U%!%$%k$r8fMw$/$@$5$$!#(B
    1.15 +  $B$/$@$5$$!#>\$7$/$O(B docs/qanda $B%U%!%$%k!"$^$?$O(B
    1.16 +  http://www.comp.ae.keio.ac.jp/~yuuji/yatex/
    1.17 +  $B$r8fMw$/$@$5$$!#(B
    1.18  
    1.19  $B!&(Bmakefile $B$N@hF,ItJ,$rJT=8$7!"(B
    1.20  	mule2(emacs-19) $B$r;H$&>l9g$O(B make install
     2.1 --- a/makefile	Tue Dec 16 13:33:40 1997 +0000
     2.2 +++ b/makefile	Tue Dec 16 13:34:57 1997 +0000
     2.3 @@ -2,56 +2,158 @@
     2.4  # Makefile for YaTeX.
     2.5  #
     2.6  
     2.7 -MVER	= 1.50
     2.8 -LISP	= comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el yatexlib.el \
     2.9 -	  yatexmth.el yatexhks.el yatexhlp.el yatexprc.el \
    2.10 -	  yatexm-o.el yatexsec.el
    2.11 -#	\  yahatml.el 
    2.12 -DOCS	= $(DOCSRC) $(DOCOBJ)
    2.13 -DOCSRC	= yatex.new docs/yatexj.tex docs/yatexe.tex \
    2.14 -	  docs/yatex.ref docs/yatexadd.doc docs/yatexgen.doc docs/qanda
    2.15 +# Edit these variables to be suitable for your site
    2.16 +LIBDIR	= /usr/local/lib
    2.17 +
    2.18 +EMACSDIR= ${LIBDIR}/mule
    2.19 +LISPDIR	= ${EMACSDIR}/site-lisp/yatex
    2.20 +DOCDIR	= ${LISPDIR}/docs
    2.21 +HELPDIR	= ${EMACSDIR}/site-lisp
    2.22 +INFODIR	= ${EMACSDIR}/info
    2.23 +EMACS	= mule
    2.24 +
    2.25 +TAR	= gtar
    2.26 +INSTALL	= install -c -m 444
    2.27 +
    2.28 +###################
    2.29 +# Do not edit below
    2.30 +###################
    2.31 +# make install		to install YaTeX into public space
    2.32 +# make install-nw	same as above, but -nw mode, or Emacs18(Nemacs)
    2.33 +# make ajimi		to feel taste
    2.34 +# make ajimi-nw		same as above, but -nw mode
    2.35 +# make package		to create package for relase
    2.36 +# make yahtmlpack	to create package for relase
    2.37 +# make clean		to delete all producted files
    2.38 +# make ci		to check in all
    2.39 +# make co		to for check out all
    2.40 +MVER	= 1.61
    2.41 +LISP	= ${LISP18} ${LISP19}
    2.42 +YAHTML	= yahtml.el
    2.43 +COMMON	= yatexlib.el yatexprc.el
    2.44 +LISP18	= comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el \
    2.45 +	  ${COMMON} \
    2.46 +	  yatexmth.el yatexhks.el yatexhlp.el \
    2.47 +	  yatexm-o.el yatexsec.el  yatexhie.el ${YAHTML}
    2.48 +LISP19	= yatex19.el
    2.49 +DOCS	= ${DOCSRC} ${DOCOBJ} ${NEWS}
    2.50 +NEWS	= yatex.new
    2.51 +DOCHTML	= docs/htmlqa
    2.52 +DOCSRC	= docs/yatexj.tex docs/yatexe.tex \
    2.53 +	  docs/yatex.ref docs/yatexref.eng \
    2.54 +	  docs/yatexadd.doc docs/yatexgen.doc \
    2.55 +	  docs/qanda docs/qanda.eng ${DOCHTML}
    2.56  DOCOBJ	= docs/yatexj docs/yatexe
    2.57 -HELP	= help/YATEXHLP.jp
    2.58 +HELP	= help/YATEXHLP.jp help/YATEXHLP.eng
    2.59  MANIFEST= manifest
    2.60 -EXTRA	= dir install 00readme
    2.61 -DISTRIB = $(EXTRA) $(LISP) $(DOCS) $(MANIFEST) $(HELP)
    2.62 -RCSFILE	= $(LISP) $(DOCSRC) $(HELP)
    2.63 -PACK	= `echo $(DISTRIB)|xargs ls`
    2.64 -TAR	= gtar
    2.65 +EXTRA	= dir install 00readme makefile
    2.66 +DISTRIB = ${EXTRA} ${LISP} ${DOCS} ${MANIFEST} ${HELP}
    2.67 +RCSFILE	= ${LISP} ${NEWS} ${DOCSRC} ${HELP}
    2.68 +YAHTMLLISP = ${YAHTML} ${COMMON}
    2.69 +YAHTMLDIST = ${YAHTMLLISP} install 00readme makefile
    2.70 +PACK	= `echo ${DISTRIB}|xargs ls`
    2.71  TMPDIR	= /tmp
    2.72  VERSION = `head yatex.el|awk '/rev\./{print $$4}'`
    2.73 -PACKDIR	= $(TMPDIR)/yatex$(VERSION)
    2.74 -EMACS	= mule
    2.75 -INSTALL	= install -c
    2.76 +PACKDIR	= ${TMPDIR}/yatex${VERSION}
    2.77  
    2.78  all:
    2.79 +	@echo "Edit this makefile first."
    2.80 +	@echo 'Type "make install" to install YaTeX.'
    2.81 +	@echo 'Type "make install-yahtml" to install yahtml.'
    2.82 +	@echo "If you don't use X-clinet of Emacs,"
    2.83 +	@echo 'type "make install-nw" instead.'
    2.84  
    2.85 -install:
    2.86 -	$(EMACS) -batch -e batch-byte-compile $(LISP)
    2.87 -	#$(INSTALL) * $(MYELISPLIB)
    2.88 +install: bytecompile install-real
    2.89 +install-yahtml: bytecompile-yahtml
    2.90 +	if [ ! -d ${LISPDIR} ]; then mkdir ${LISPDIR}; fi
    2.91 +	${INSTALL} *.elc ${LISPDIR}
    2.92  
    2.93 -package:
    2.94 -	@-mkdir $(PACKDIR)
    2.95 -	@tar cf - $(PACK) | (cd $(PACKDIR); tar xf -)
    2.96 -	find $(PACKDIR) -type f -exec chmod -x '{}' \;
    2.97 -	( version=$(VERSION); cd $(TMPDIR); \
    2.98 -	     $(TAR) vzcf $(TMPDIR)/yatex$$version.tar.gz yatex$$version)
    2.99 +install-real:
   2.100 +	if [ ! -d ${LISPDIR} ]; then mkdir ${LISPDIR}; fi
   2.101 +	if [ ! -d ${DOCDIR} ]; then mkdir ${DOCDIR}; fi
   2.102 +	${INSTALL} *.elc ${NEWS} ${LISPDIR}
   2.103 +	${INSTALL} ${DOCSRC} ${DOCDIR}
   2.104 +	${INSTALL} ${DOCOBJ} ${INFODIR}
   2.105 +	${INSTALL} ${HELP} ${HELPDIR}
   2.106 +	@echo "Add next two lines into your site's info dir manually please!"
   2.107 +	@cat dir
   2.108 +
   2.109 +install-nw: bytecompile-nw install-real
   2.110 +
   2.111 +bytecompile: lp
   2.112 +	if [ "$$DISPLAY"x = ""x ]; then \
   2.113 +		echo "Set DISPLAY environment variable!!"; exit 1; fi
   2.114 +	${EMACS} -q -geometry 80x20+0+0 -l ./lp.el -e bcf-and-exit ${LISP}
   2.115 +
   2.116 +bytecompile-nw: lp lp1
   2.117 +	${EMACS} -batch -l ./lp.el -e batch-byte-compile ${LISP18}
   2.118 +
   2.119 +bytecompile-yahtml: lp
   2.120 +	if [ "$$DISPLAY"x = ""x ]; then \
   2.121 +		echo "Set DISPLAY environment variable!!"; exit 1; fi
   2.122 +	${EMACS} -q -g 80x20+0+0 -l ./lp.el -e bcf-and-exit ${YAHTMLLISP}
   2.123 +
   2.124 +lp:
   2.125 +	echo '(setq load-path (cons "." load-path))'	> lp.el
   2.126 +	echo '(load-file "./yatexlib.el")'		>>lp.el
   2.127 +
   2.128 +lp1:
   2.129 +	echo '(load-file "./yatex.el")'			>>lp.el
   2.130 +	echo '(load-file "./comment.el")'		>>lp.el
   2.131 +
   2.132 +lp2:
   2.133 +	echo '(setq load-path (cons "'`pwd`'" load-path))'		>>lp.el
   2.134 +	echo '(setq auto-mode-alist'					>>lp.el
   2.135 +	echo '(cons (cons "\\.tex" '"'yatex-mode) auto-mode-alist))"	>>lp.el
   2.136 +	echo '(load-library "yatex")'					>>lp.el
   2.137 +
   2.138 +ajimi: lp lp2
   2.139 +	${EMACS} -l ./lp.el -e yatex-mode
   2.140 +
   2.141 +ajimi-nw: lp lp2
   2.142 +	${EMACS} -nw -l ./lp.el -e yatex-mode
   2.143 +
   2.144 +clean:
   2.145 +	rm -f *.elc *~ lp.el
   2.146 +
   2.147 +info: docs/yatexj docs/yatexe
   2.148 +
   2.149 +docs/yatexj: docs/yatexj.tex
   2.150 +	(cd docs; ${EMACS} -batch yatexj.tex -e texinfo-format-buffer \
   2.151 +	 -e basic-save-buffer)
   2.152 +
   2.153 +docs/yatexe: docs/yatexe.tex
   2.154 +	(cd docs; ${EMACS} -batch yatexe.tex -e texinfo-format-buffer \
   2.155 +	 -e basic-save-buffer)
   2.156 +
   2.157 +package: info
   2.158 +	@-mkdir ${PACKDIR}
   2.159 +	@tar cf - ${PACK} | (cd ${PACKDIR}; tar xf -)
   2.160 +	find ${PACKDIR} -type f -exec chmod -x '{}' \;
   2.161 +	( version=${VERSION}; cd ${TMPDIR}; \
   2.162 +	     ${TAR} vzcf ${TMPDIR}/yatex$$version.tar.gz yatex$$version)
   2.163 +
   2.164 +yahtmlpack:
   2.165 +	@-mkdir ${PACKDIR}
   2.166 +	@tar cf - ${YAHTMLDIST} | (cd ${PACKDIR}; tar xf -)
   2.167 +	( version=${VERSION}; cd ${TMPDIR}; \
   2.168 +	     ${TAR} vzcf ${TMPDIR}/yahtml$$version.tar.gz yatex$$version)
   2.169  
   2.170  ci:
   2.171 -	ci -r$(VERSION) -sRel -f $(RCSFILE)
   2.172 -	ci -u$(VERSION) makefile
   2.173 +	ci -r${VERSION} -sRel -f ${RCSFILE}
   2.174 +	ci -u${VERSION} makefile 00readme
   2.175  
   2.176  co:
   2.177 -	co $(RCSFILE)
   2.178 +	co ${RCSFILE}
   2.179  
   2.180  co-l:
   2.181 -	co -l $(RCSFILE)
   2.182 +	co -l ${RCSFILE}
   2.183  
   2.184  tci:
   2.185 -	ci -l$(VERSION).0 -Ncurrent $(RCSFILE) makefile
   2.186 +	ci -l${VERSION}.0 -Ncurrent ${RCSFILE} makefile
   2.187  
   2.188  dostci:
   2.189 -	ci -l$(MVER).0 -Ncurrent @rcsfile
   2.190 +	ci -l${MVER}.0 -Ncurrent @rcsfile
   2.191  
   2.192  gohome:
   2.193  	zip -u -r /com/okoma/yuuji/tmp/dosconv/yatex.zip . \