tm 7.99.
[elisp/tm.git] / Makefile.bc
index 68d1fac..4cbc7ac 100644 (file)
@@ -1,19 +1,28 @@
 #
-# $Id: Makefile.bc,v 4.0 1995/04/27 21:05:48 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-vm.el tm-setup.el mime-setup.el
+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 loadpath -f eval-current-buffer
+
+RM     = /bin/rm -f
 
 .SUFFIXES:     .el .elc
 
 .el.elc:
-       $(EMACS) -batch -l .lpath.el -f batch-byte-compile $<
+       $(BATCH) -f batch-byte-compile $<
 
 
 all:   $(TM_ELC)
@@ -21,10 +30,18 @@ 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)
+
+$(TM_VM_ELC):
+
+install-tm-vm:
+       ./inst-el $(TMDIR) $(TM_VM_EL)
+       ./inst-elc $(TMDIR) $(TM_VM_ELC)
 
 
 clean:
-       -rm *.elc
+       -$(RM) *.elc