From 4a3881b5d26b9982c2cea953af8e0be228cbcb05 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 10 Apr 1998 15:17:02 +0000 Subject: [PATCH] New file. --- Makefile | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..db1ccab --- /dev/null +++ b/Makefile @@ -0,0 +1,55 @@ +# +# Makefile for RIME. +# + +VERSION = 7.3 + +TAR = tar +RM = /bin/rm -f +CP = /bin/cp -p + +EMACS = emacs +FLAGS = -batch -q -no-site-file -l RIME-MK + +PREFIX = NONE +LISPDIR = NONE + +GOMI = *.elc +FILES = README.?? Makefile RIME-MK RIME-CFG RIME-ELS *.el ChangeLog + + +elc: + $(EMACS) $(FLAGS) -f compile-rime $(PREFIX) $(LISPDIR) + +install: elc + $(EMACS) $(FLAGS) -f install-rime $(PREFIX) $(LISPDIR) + +clean: + -$(RM) $(GOMI) + cd ../tl && make clean + + +tar: + cvs commit + sh -c 'cvs tag -RF rime-`echo $(VERSION) \ + | sed s/\\\\./_/ | sed s/\\\\./_/`; \ + cd /tmp; \ + cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \ + export -d rime-$(VERSION) \ + -r rime-`echo $(VERSION) | sed s/\\\\./_/ | sed s/\\\\./_/` \ + rime' + cd /tmp; $(RM) rime-$(VERSION)/ftp.in ; \ + $(TAR) cvzf rime-$(VERSION).tar.gz rime-$(VERSION) + cd /tmp; $(RM) -r rime-$(VERSION) + sed "s/VERSION/$(VERSION)/" < ftp.in > ftp +# -cd ..; mkdir rime-$(VERSION) +# -$(CP) $(FILES) ../rime-$(VERSION) +# cd ..; $(TAR) cvzf rime-$(VERSION).tar.gz rime-$(VERSION) +# cd ..; $(RM) -r rime-$(VERSION) + +release: + -$(RM) /pub/GNU/elisp/apel/rime-$(VERSION).tar.gz +# cd ..; mv rime-$(VERSION).tar.gz /pub/GNU/elisp/mime/libs/ + mv /tmp/rime-$(VERSION).tar.gz /pub/GNU/elisp/rime/ + cd /pub/GNU/elisp/semi/ ; \ + ln -s ../rime/rime-$(VERSION).tar.gz . -- 1.7.10.4