Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/00readme Tue Dec 16 13:33:40 1997 +0000 +++ b/00readme Tue Dec 16 13:34:57 1997 +0000 @@ -1,14 +1,8 @@ -xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -$B!&(B1997$BG/(B3$B7n(B10$BF|!"!VMkD;!W$N:n<T$G$"$j!"!VLnD;!W$N@.D9$KBg$-$J9W8%$r$7$F(B - $B2<$5$C$?7K@nD>8J$5$s$,8rDL;v8N$K$h$j$*K4$/$J$j$K$J$j$^$7$?!#LnD;%U%!%_(B - $B%j!<$O$+$1$,$($NL5$$Bg$-$JB8:_$r<:$C$F$7$^$$$^$7$?!#$b$7$h$m$7$1$l$P!"(B - $BH`$N%2%9%H%V%C%/$K46<U$HDIEi$N5$;}$A$r;D$7$F2<$5$$$^$;$s$+!#(B - http://www.comp.ae.keio.ac.jp/~lune/ - $B$+$i!V(Bguest book$B!W$H$$$&%j%s%/$r$?$I$C$F2<$5$$!#(B -xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $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 $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 - $B$/$@$5$$!#>\$7$/$O(B docs/qanda $B%U%!%$%k$r8fMw$/$@$5$$!#(B + $B$/$@$5$$!#>\$7$/$O(B docs/qanda $B%U%!%$%k!"$^$?$O(B + http://www.comp.ae.keio.ac.jp/~yuuji/yatex/ + $B$r8fMw$/$@$5$$!#(B $B!&(Bmakefile $B$N@hF,ItJ,$rJT=8$7!"(B mule2(emacs-19) $B$r;H$&>l9g$O(B make install
--- a/makefile Tue Dec 16 13:33:40 1997 +0000 +++ b/makefile Tue Dec 16 13:34:57 1997 +0000 @@ -2,56 +2,158 @@ # Makefile for YaTeX. # -MVER = 1.50 -LISP = comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el yatexlib.el \ - yatexmth.el yatexhks.el yatexhlp.el yatexprc.el \ - yatexm-o.el yatexsec.el -# \ yahatml.el -DOCS = $(DOCSRC) $(DOCOBJ) -DOCSRC = yatex.new docs/yatexj.tex docs/yatexe.tex \ - docs/yatex.ref docs/yatexadd.doc docs/yatexgen.doc docs/qanda +# Edit these variables to be suitable for your site +LIBDIR = /usr/local/lib + +EMACSDIR= ${LIBDIR}/mule +LISPDIR = ${EMACSDIR}/site-lisp/yatex +DOCDIR = ${LISPDIR}/docs +HELPDIR = ${EMACSDIR}/site-lisp +INFODIR = ${EMACSDIR}/info +EMACS = mule + +TAR = gtar +INSTALL = install -c -m 444 + +################### +# Do not edit below +################### +# make install to install YaTeX into public space +# make install-nw same as above, but -nw mode, or Emacs18(Nemacs) +# make ajimi to feel taste +# make ajimi-nw same as above, but -nw mode +# make package to create package for relase +# make yahtmlpack to create package for relase +# make clean to delete all producted files +# make ci to check in all +# make co to for check out all +MVER = 1.61 +LISP = ${LISP18} ${LISP19} +YAHTML = yahtml.el +COMMON = yatexlib.el yatexprc.el +LISP18 = comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el \ + ${COMMON} \ + yatexmth.el yatexhks.el yatexhlp.el \ + yatexm-o.el yatexsec.el yatexhie.el ${YAHTML} +LISP19 = yatex19.el +DOCS = ${DOCSRC} ${DOCOBJ} ${NEWS} +NEWS = yatex.new +DOCHTML = docs/htmlqa +DOCSRC = docs/yatexj.tex docs/yatexe.tex \ + docs/yatex.ref docs/yatexref.eng \ + docs/yatexadd.doc docs/yatexgen.doc \ + docs/qanda docs/qanda.eng ${DOCHTML} DOCOBJ = docs/yatexj docs/yatexe -HELP = help/YATEXHLP.jp +HELP = help/YATEXHLP.jp help/YATEXHLP.eng MANIFEST= manifest -EXTRA = dir install 00readme -DISTRIB = $(EXTRA) $(LISP) $(DOCS) $(MANIFEST) $(HELP) -RCSFILE = $(LISP) $(DOCSRC) $(HELP) -PACK = `echo $(DISTRIB)|xargs ls` -TAR = gtar +EXTRA = dir install 00readme makefile +DISTRIB = ${EXTRA} ${LISP} ${DOCS} ${MANIFEST} ${HELP} +RCSFILE = ${LISP} ${NEWS} ${DOCSRC} ${HELP} +YAHTMLLISP = ${YAHTML} ${COMMON} +YAHTMLDIST = ${YAHTMLLISP} install 00readme makefile +PACK = `echo ${DISTRIB}|xargs ls` TMPDIR = /tmp VERSION = `head yatex.el|awk '/rev\./{print $$4}'` -PACKDIR = $(TMPDIR)/yatex$(VERSION) -EMACS = mule -INSTALL = install -c +PACKDIR = ${TMPDIR}/yatex${VERSION} all: + @echo "Edit this makefile first." + @echo 'Type "make install" to install YaTeX.' + @echo 'Type "make install-yahtml" to install yahtml.' + @echo "If you don't use X-clinet of Emacs," + @echo 'type "make install-nw" instead.' -install: - $(EMACS) -batch -e batch-byte-compile $(LISP) - #$(INSTALL) * $(MYELISPLIB) +install: bytecompile install-real +install-yahtml: bytecompile-yahtml + if [ ! -d ${LISPDIR} ]; then mkdir ${LISPDIR}; fi + ${INSTALL} *.elc ${LISPDIR} + +install-real: + if [ ! -d ${LISPDIR} ]; then mkdir ${LISPDIR}; fi + if [ ! -d ${DOCDIR} ]; then mkdir ${DOCDIR}; fi + ${INSTALL} *.elc ${NEWS} ${LISPDIR} + ${INSTALL} ${DOCSRC} ${DOCDIR} + ${INSTALL} ${DOCOBJ} ${INFODIR} + ${INSTALL} ${HELP} ${HELPDIR} + @echo "Add next two lines into your site's info dir manually please!" + @cat dir + +install-nw: bytecompile-nw install-real + +bytecompile: lp + if [ "$$DISPLAY"x = ""x ]; then \ + echo "Set DISPLAY environment variable!!"; exit 1; fi + ${EMACS} -q -geometry 80x20+0+0 -l ./lp.el -e bcf-and-exit ${LISP} + +bytecompile-nw: lp lp1 + ${EMACS} -batch -l ./lp.el -e batch-byte-compile ${LISP18} + +bytecompile-yahtml: lp + if [ "$$DISPLAY"x = ""x ]; then \ + echo "Set DISPLAY environment variable!!"; exit 1; fi + ${EMACS} -q -g 80x20+0+0 -l ./lp.el -e bcf-and-exit ${YAHTMLLISP} + +lp: + echo '(setq load-path (cons "." load-path))' > lp.el + echo '(load-file "./yatexlib.el")' >>lp.el -package: - @-mkdir $(PACKDIR) - @tar cf - $(PACK) | (cd $(PACKDIR); tar xf -) - find $(PACKDIR) -type f -exec chmod -x '{}' \; - ( version=$(VERSION); cd $(TMPDIR); \ - $(TAR) vzcf $(TMPDIR)/yatex$$version.tar.gz yatex$$version) +lp1: + echo '(load-file "./yatex.el")' >>lp.el + echo '(load-file "./comment.el")' >>lp.el + +lp2: + echo '(setq load-path (cons "'`pwd`'" load-path))' >>lp.el + echo '(setq auto-mode-alist' >>lp.el + echo '(cons (cons "\\.tex" '"'yatex-mode) auto-mode-alist))" >>lp.el + echo '(load-library "yatex")' >>lp.el + +ajimi: lp lp2 + ${EMACS} -l ./lp.el -e yatex-mode + +ajimi-nw: lp lp2 + ${EMACS} -nw -l ./lp.el -e yatex-mode + +clean: + rm -f *.elc *~ lp.el + +info: docs/yatexj docs/yatexe + +docs/yatexj: docs/yatexj.tex + (cd docs; ${EMACS} -batch yatexj.tex -e texinfo-format-buffer \ + -e basic-save-buffer) + +docs/yatexe: docs/yatexe.tex + (cd docs; ${EMACS} -batch yatexe.tex -e texinfo-format-buffer \ + -e basic-save-buffer) + +package: info + @-mkdir ${PACKDIR} + @tar cf - ${PACK} | (cd ${PACKDIR}; tar xf -) + find ${PACKDIR} -type f -exec chmod -x '{}' \; + ( version=${VERSION}; cd ${TMPDIR}; \ + ${TAR} vzcf ${TMPDIR}/yatex$$version.tar.gz yatex$$version) + +yahtmlpack: + @-mkdir ${PACKDIR} + @tar cf - ${YAHTMLDIST} | (cd ${PACKDIR}; tar xf -) + ( version=${VERSION}; cd ${TMPDIR}; \ + ${TAR} vzcf ${TMPDIR}/yahtml$$version.tar.gz yatex$$version) ci: - ci -r$(VERSION) -sRel -f $(RCSFILE) - ci -u$(VERSION) makefile + ci -r${VERSION} -sRel -f ${RCSFILE} + ci -u${VERSION} makefile 00readme co: - co $(RCSFILE) + co ${RCSFILE} co-l: - co -l $(RCSFILE) + co -l ${RCSFILE} tci: - ci -l$(VERSION).0 -Ncurrent $(RCSFILE) makefile + ci -l${VERSION}.0 -Ncurrent ${RCSFILE} makefile dostci: - ci -l$(MVER).0 -Ncurrent @rcsfile + ci -l${MVER}.0 -Ncurrent @rcsfile gohome: zip -u -r /com/okoma/yuuji/tmp/dosconv/yatex.zip . \