tm 7.99.
[elisp/tm.git] / Makefile.bc
index 171c47b..4cbc7ac 100644 (file)
@@ -1,67 +1,47 @@
 #
-# $Id: Makefile.bc,v 1.1 1995/01/12 16:27:01 morioka Exp $
+# $Id: Makefile.bc,v 6.5 1995/06/26 08:08:51 morioka Exp morioka $
 #
 
-TMMEL  = tm-view.el tm-rmail.el tm-comp.el
-TMMELC = ${TMMEL:el=elc}
-
 TM_EL  = signature.el \
-       tiny-mime.el tm-misc.el tm-$(EMACS_TYPE).el $(TMMEL) tm-rich.el
+       tiny-mime.el tm-misc.el tm-$(EMACS_TYPE).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-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 loadpath -f eval-current-buffer
+
+RM     = /bin/rm -f
+
 .SUFFIXES:     .el .elc
 
 .el.elc:
-       $(EMACS) -batch -q . -f batch-byte-compile $<
+       $(BATCH) -f batch-byte-compile $<
 
 
 all:   $(TM_ELC)
 
-signature.elc: signature.el
-       $(EMACS) -batch -q . -l $(TLSRCDIR)/tl-header.el \
-               -f batch-byte-compile $<
-
-tiny-mime.elc: tiny-mime.el
-       $(EMACS) -batch -q . \
-               -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-header.el \
-               -f batch-byte-compile $<
-
-tm-misc.elc:   tm-misc.el
-       $(EMACS) -batch -q . \
-               -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \
-               -l $(TLSRCDIR)/tl-header.el \
-               -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
-               -l tm-$(EMACS_TYPE).el -l tiny-mime.el \
-               -f batch-byte-compile $<
-
-tm-$(EMACS_TYPE).elc:  tm-$(EMACS_TYPE).el
-       $(EMACS) -batch -q . -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
-               -f batch-byte-compile $<
-
-$(TMMELC):
-       $(EMACS) -batch -q . \
-               -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \
-               -l $(TLSRCDIR)/tl-header.el \
-               -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
-               -l tm-$(EMACS_TYPE).el -l tiny-mime.el -l tm-misc.el \
-               -f batch-byte-compile $<
-
-tm-rich.elc:   tm-rich.el
-       $(EMACS) -batch -q . \
-               -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \
-               -l $(TLSRCDIR)/tl-header.el \
-               -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
-               -l tm-$(EMACS_TYPE).el -l tiny-mime.el -l tm-misc.el \
-               -l tm-view.el \
-               -f batch-byte-compile $<
-
+$(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