tm 7.67.
[elisp/tm.git] / Makefile.bc
index fdd7dea..4cbc7ac 100644 (file)
@@ -1,19 +1,23 @@
 #
-# $Id: Makefile.bc,v 6.0 1995/05/15 04:13:07 morioka Exp $
+# $Id: Makefile.bc,v 6.5 1995/06/26 08:08:51 morioka Exp morioka $
 #
 
 TM_EL  = signature.el \
        tiny-mime.el tm-misc.el tm-$(EMACS_TYPE).el \
-       tm-view.el tm-rich.el tm-ftp.el tm-latex.el tm-partial.el \
+       tm-view.el \
+       tm-rich.el richtext.el tinyrich.el \
+       tm-ftp.el tm-latex.el tm-partial.el \
        tm-rmail.el \
-       tm-comp.el
+       tm-comp.el # tm-evs.el 
 TM_ELC = ${TM_EL:el=elc}
 ALL_EL = $(TM_EL) tm-setup.el mime-setup.el
 
 TM_VM_EL  = tm-vm.el
 TM_VM_ELC = ${TM_VM_EL:el=elc}
 
-BATCH  = $(EMACS) -batch -q .lpath.el -f eval-current-buffer
+BATCH  = $(EMACS) -batch loadpath -f eval-current-buffer
+
+RM     = /bin/rm -f
 
 .SUFFIXES:     .el .elc
 
@@ -26,9 +30,8 @@ all:  $(TM_ELC)
 $(TM_ELC):
 
 install:
-       -(cd $(TMDIR); chmod +w $(ALL_EL))
-       cp -p $(ALL_EL) $(TMDIR)
-       mv $(TM_ELC) $(TMDIR)
+       ./inst-el $(TMDIR) $(ALL_EL)
+       ./inst-elc $(TMDIR) $(TM_ELC)
 
 
 tm-vm: $(TM_VM_ELC)
@@ -36,10 +39,9 @@ tm-vm:       $(TM_VM_ELC)
 $(TM_VM_ELC):
 
 install-tm-vm:
-       -(cd $(TMDIR); chmod +w $(TM_VM_EL))
-       cp -p $(TM_VM_EL) $(TMDIR)
-       -(mv $(TM_VM_ELC) $(TMDIR))
+       ./inst-el $(TMDIR) $(TM_VM_EL)
+       ./inst-elc $(TMDIR) $(TM_VM_ELC)
 
 
 clean:
-       -rm *.elc
+       -$(RM) *.elc