From: morioka Date: Mon, 2 Mar 1998 14:50:06 +0000 (+0000) Subject: tm 6.22.1 X-Git-Tag: tm6_22_1~1 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0c10b17b4c38d6184b6376dbd3191b998ffc73db;p=elisp%2Ftm.git tm 6.22.1 --- diff --git a/Makefile b/Makefile index e15e8d2..6519924 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 6.8 1995/05/17 06:58:57 morioka Exp morioka $ +# $Id: Makefile,v 6.9 1995/05/18 16:45:59 morioka Exp morioka $ # # Please specify emacs executables: @@ -44,7 +44,7 @@ CP = /bin/cp -p UTILS = ol2 decode-b GOMI = $(UTILS) *.elc .lpath.el FILES = tm/README.eng tm/rel-*.ol \ - tm/Makefile tm/Makefile.bc tm/make-lpath \ + tm/Makefile tm/Makefile.bc tm/make-lpath tm/inst-el tm/inst-elc \ tm/*.el tm/*.c tm/methods \ tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex tm/doc/*.texi \ tm/gnus/Makefile tm/gnus/Makefile.bc tm/gnus/*.el \ @@ -53,7 +53,7 @@ FILES = tm/README.eng tm/rel-*.ol \ tl/Makefile tl/Makefile.bc tl/loadpath \ tl/*.el tl/doc/*.texi -TARFILE = tm6.22.tar +TARFILE = tm6.22.1.tar lpath-nemacs: diff --git a/Makefile.bc b/Makefile.bc index 0cd8414..89d8113 100644 --- a/Makefile.bc +++ b/Makefile.bc @@ -1,5 +1,5 @@ # -# $Id: Makefile.bc,v 6.3 1995/05/17 07:00:54 morioka Exp morioka $ +# $Id: Makefile.bc,v 6.4 1995/05/18 16:46:28 morioka Exp $ # TM_EL = signature.el \ @@ -15,9 +15,7 @@ TM_VM_ELC = ${TM_VM_EL:el=elc} BATCH = $(EMACS) -batch loadpath -f eval-current-buffer -CP = cp -p -MV = mv -f -RM = rm -f +RM = /bin/rm -f .SUFFIXES: .el .elc @@ -30,10 +28,8 @@ all: $(TM_ELC) $(TM_ELC): install: - test -d $(TMDIR) || mkdir $(TMDIR) - -cd $(TMDIR); chmod +w $(ALL_EL) - $(CP) $(ALL_EL) $(TMDIR) - $(MV) $(TM_ELC) $(TMDIR) + ./inst-el $(TMDIR) $(ALL_EL) + ./inst-elc $(TMDIR) $(TM_ELC) tm-vm: $(TM_VM_ELC) @@ -41,9 +37,8 @@ tm-vm: $(TM_VM_ELC) $(TM_VM_ELC): install-tm-vm: - -cd $(TMDIR); chmod +w $(TM_VM_EL) - $(CP) $(TM_VM_EL) $(TMDIR) - -$(MV) $(TM_VM_ELC) $(TMDIR) + ./inst-el $(TMDIR) $(TM_VM_EL) + ./inst-elc $(TMDIR) $(TM_VM_ELC) clean: diff --git a/gnus/Makefile b/gnus/Makefile index ac6aae7..ae1cd14 100644 --- a/gnus/Makefile +++ b/gnus/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 6.0 1995/04/28 05:35:00 morioka Exp morioka $ +# $Id: Makefile,v 6.1 1995/05/18 16:48:06 morioka Exp morioka $ # # Please specify emacs executables: @@ -59,9 +59,8 @@ mule1-gnus4: GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4) install-18: - -chmod +w $(TMDIR18)/tm-gnus*.el - cp -p tm-gnus*.el $(TMDIR18) - mv tm-gnus*.elc $(TMDIR18) + ../inst-el $(TMDIR18) tm-gnus*.el + ../inst-elc $(TMDIR18) tm-gnus*.elc orig19: @@ -75,9 +74,8 @@ mule2: GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP) install-19: - -(cd $(TMDIR19); chmod +w tm-gnus.el tm-gnus4.el) - cp -p tm-gnus.el tm-gnus4.el $(TMDIR19) - mv tm-gnus*.elc $(TMDIR19) + ../inst-el $(TMDIR19) tm-gnus.el tm-gnus4.el + ../inst-elc $(TMDIR19) tm-gnus*.elc clean: diff --git a/inst-el b/inst-el new file mode 100755 index 0000000..badf406 --- /dev/null +++ b/inst-el @@ -0,0 +1,17 @@ +#!/bin/csh -f + +set dir = $1 +set files = ($argv[2-]) + +if ( -d $dir ) then + echo $dir is already exists. +else + echo $dir is not exists, so I make it. + mkdir $dir +endif + +(cd $dir; chmod -f +w $files) + +cp -p $files $dir + +exit 0 diff --git a/inst-elc b/inst-elc new file mode 100755 index 0000000..e25378f --- /dev/null +++ b/inst-elc @@ -0,0 +1,15 @@ +#!/bin/csh -f + +set dir = $1 +set files = ($argv[2-]) + +if ( -d $dir ) then + echo $dir is already exists. +else + echo $dir is not exists, so I make it. + mkdir $dir +endif + +(mv -f $files $dir) + +exit 0 diff --git a/mh-e/Makefile b/mh-e/Makefile index 0f77453..90c41d0 100644 --- a/mh-e/Makefile +++ b/mh-e/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 4.0 1995/05/01 19:07:47 morioka Exp morioka $ +# $Id: Makefile,v 5.0 1995/05/18 16:47:08 morioka Exp morioka $ # # Please specify emacs executables: @@ -28,9 +28,8 @@ mule1: make -f Makefile.bc tm-mh-e.elc EMACS=$(MULE1) install-18: - -chmod +w $(TMDIR18)/tm-mh-e*.el - cp -p tm-mh-e*.el $(TMDIR18) - mv tm-mh-e*.elc $(TMDIR18) + ../inst-el $(TMDIR18) tm-mh-e*.el + ../inst-elc $(TMDIR18) tm-mh-e*.elc orig19: @@ -40,9 +39,8 @@ mule2: make -f Makefile.bc mh-e4 EMACS=$(MULE2) install-19: - -chmod +w $(TMDIR19)/tm-mh-e*.el - cp -p tm-mh-e*.el $(TMDIR19) - mv tm-mh-e*.elc $(TMDIR19) + ../inst-el $(TMDIR19) tm-mh-e*.el + ../inst-elc $(TMDIR19) tm-mh-e*.elc clean: