#
-# $Id: Makefile,v 0.4 1997-06-18 14:51:50 morioka Exp $
+# Makefile for WEMI.
#
-VERSION = 0.88
+VERSION = 1.4.0
SHELL = /bin/sh
MAKE = make
CC = gcc
CFLAGS = -O2
-TAR = gtar
+TAR = tar
RM = /bin/rm -f
CP = /bin/cp -p
EMACS = emacs
EXEC_PREFIX = NONE
LISPDIR = NONE
-FILES = README.?? Makefile SEMI-MK SEMI-CFG SEMI-ELS *.el ChangeLog
-
elc:
$(EMACS) $(FLAGS) -l SEMI-MK -f compile-semi \
$(PREFIX) $(EXEC_PREFIX) $(LISPDIR)
cd doc; $(MAKE) ps
-install: install-elc install-execs
-
-execs: $(UTILS)
-
-install-execs:
- $(EMACS) $(FLAGS) -l SEMI-MK -f install-execs $(PREFIX) $(EXEC_PREFIX)
-
+install: install-elc
update-xemacs:
$(EMACS) $(FLAGS) -l SEMI-MK -f update-xemacs-source
tar:
cvs commit
- sh -c 'cvs tag -RF semi-`echo $(VERSION)|sed s/\\\\./_/`; \
- cd /tmp; cvs export -d semi-$(VERSION) \
- -r semi-`echo $(VERSION)|sed s/\\\\./_/` SEMI/semi'
- cd /tmp; $(TAR) cvzf semi-$(VERSION).tar.gz semi-$(VERSION)
- cd /tmp; $(RM) -r semi-$(VERSION)
+ sh -c 'cvs tag -RF wemi-`echo $(VERSION) \
+ | sed s/\\\\./_/ | sed s/\\\\./_/`; \
+ cd /tmp; \
+ cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \
+ export -d wemi-$(VERSION) \
+ -r wemi-`echo $(VERSION) \
+ | sed s/\\\\./_/ | sed s/\\\\./_/` semi'
+ $(RM) /tmp/wemi-$(VERSION)/ftp.in
+ cd /tmp; $(TAR) cvzf wemi-$(VERSION).tar.gz wemi-$(VERSION)
+ cd /tmp; $(RM) -r wemi-$(VERSION)
sed "s/VERSION/$(VERSION)/" < ftp.in > ftp
-# -cd ..; mkdir semi-$(VERSION)
-# -$(CP) $(FILES) ../semi-$(VERSION)
-# cd ..; $(TAR) cvzf semi-$(VERSION).tar.gz semi-$(VERSION)
-# cd ..; $(RM) -r semi-$(VERSION)