2 # $Id: Makefile,v 7.42 1996/12/10 14:57:42 morioka Exp morioka $
15 BINS = src/ol2 src/decode-b
17 GOMI = $(BINS) mime-setup.el mime-setup.el~ \#mime-setup.el\# *.elc \
19 FLAGS = -batch -q -no-site-file
24 TM_FILES = tm/README.en tm/ChangeLog \
25 tm/Makefile tm/TM-MK tm/TM-ELS tm/TM-CFG \
27 tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \
28 tm/tm-view.el tm/tm-parse.el \
29 tm/tm-text.el tm/tm-image.el \
30 tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \
31 tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \
34 tm/tm-edit.el tm/tm-edit-mc.el tm/signature.el \
35 tm/tm-setup.el tm/mime-setup.el.in \
37 tm/methods/tm* tm/methods/ChangeLog \
39 tm/doc/*.sgml tm/doc/*.texi tm/doc/*.info \
40 tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \
41 tm/old-logs/*.en tm/old-logs/*.ja
43 TM_MH_E_FILES = tm-mh-e/Makefile tm-mh-e/mk-tmh tm-mh-e/TMH-ELS \
44 tm-mh-e/*.el tm-mh-e/ChangeLog \
45 tm-mh-e/*.sgml tm-mh-e/*.texi tm-mh-e/*.info
47 GNUS_MIME_FILES = gnus-mime/Makefile gnus-mime/*-path \
48 gnus-mime/Gnus-MIME-* gnus-mime/*.el \
49 gnus-mime/*.sgml gnus-mime/*.texi gnus-mime/*.info \
52 TM_GNUS_FILES = tm-gnus/Makefile tm-gnus/*-path tm-gnus/mk-tgnus \
53 tm-gnus/TGNUS-ELS tm-gnus/*.el tm-gnus/ChangeLog \
54 tm-gnus/*.ol tm-gnus/*.texi tm-gnus/*.info tm-gnus/*.tex
56 TM_MAIL_FILES = tm-mail/TMAIL-ELS tm-mail/*.el tm-mail/ChangeLog
58 TM_VM_FILES = tm-vm/TM-VM-ELS tm-vm/*.el tm-vm/ChangeLog
60 TM_MUA_FILES = $(TM_MH_E_FILES) $(GNUS_MIME_FILES) $(TM_GNUS_FILES) \
61 $(TM_MAIL_FILES) $(TM_VM_FILES)
63 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/MEL-ELS mel/ChangeLog
65 MU_FILES = mu/MU-ELS mu/*.el mu/ChangeLog
67 TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/TL-ELS \
70 BITMAP_FILES = bitmap-mule/BITMAP-* bitmap-mule/Makefile \
71 bitmap-mule/*.el bitmap-mule/*.bdf \
72 bitmap-mule/README.* bitmap-mule/ChangeLog
74 EMU_FILES = emu/EMU-ELS emu/*.el emu/ChangeLog
76 SINFO_FILES = sinfo/SINFO-* sinfo/Makefile \
77 sinfo/*.dtd sinfo/*.el sinfo/*-mapping sinfo/ChangeLog
79 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(MU_FILES) \
80 $(TL_FILES) $(BITMAP_FILES) $(EMU_FILES) $(SINFO_FILES)
83 $(EMACS) $(FLAGS) -l TM-MK -f compile-tm $(PREFIX) $(EXEC_PREFIX)
84 # $(SHELL) .gnus-compile
87 $(EMACS) $(FLAGS) -l TM-MK -f install-tm $(PREFIX) $(EXEC_PREFIX)
90 all: $(UTILS) $(DVI) elc
93 $(CC) $(CFLAGS) src/ol2.c -o src/ol2
95 src/decode-b: src/decode-b.c
96 $(CC) $(CFLAGS) src/decode-b.c -o src/decode-b
109 install: $(UTILS) methods install-elc
110 $(EMACS) $(FLAGS) -l TM-MK -f install-execs $(PREFIX) $(EXEC_PREFIX)
114 $(EMACS) $(FLAGS) -l TM-MK -f update-xemacs-source
119 -cd doc; $(MAKE) clean
120 -cd gnus; $(MAKE) clean
121 -cd mh-e; $(MAKE) clean
122 cd ../mel; PWD=`pwd` $(MAKE) clean
127 cd ..; gtar cvf tm$(VERSION).tar $(FILES)
128 -cd ..; mkdir tm-$(VERSION)
129 cp ../tm-oomori/README.?? ../tm-$(VERSION)
130 cd ../tm-$(VERSION); gtar xvf ../tm$(VERSION).tar
131 cd ..; gtar cvzf tm$(VERSION).tar.gz tm-$(VERSION)
132 cd ..; $(RM) -r tm-$(VERSION); rm tm$(VERSION).tar
136 cd ..; mv tm$(VERSION).tar.gz /pub/GNU/elisp/mime/beta/
137 -cd /pub/GNU/elisp/mime/beta/ ; rm tm-oomori-current.tar.gz
138 cd /pub/GNU/elisp/mime/beta/ ; ln -s tm$(VERSION).tar.gz tm-oomori-current.tar.gz