2 # Makefile for SEMI kernel.
15 FLAGS = -batch -q -no-site-file -l SEMI-MK
21 VERSION_SPECIFIC_LISPDIR = NONE
25 VERSION = $(API).$(RELEASE)
26 ARC_DIR = /pub/GNU/elisp/semi/semi-$(API)-for-flim-1.12
30 $(EMACS) $(FLAGS) -f compile-semi \
31 $(PREFIX) $(EXEC_PREFIX) $(LISPDIR) \
32 $(VERSION_SPECIFIC_LISPDIR)
35 $(EMACS) $(FLAGS) -f install-semi \
36 $(PREFIX) $(EXEC_PREFIX) $(LISPDIR) \
37 $(VERSION_SPECIFIC_LISPDIR)
43 $(XEMACS) $(FLAGS) -f compile-semi-package $(PACKAGEDIR)
45 install-package: package
46 $(XEMACS) $(FLAGS) -f install-semi-package $(PACKAGEDIR)
55 sh -c 'cvs tag -RF $(PACKAGE)-`echo $(VERSION) | tr . _`; \
57 cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \
58 export -d $(PACKAGE)-$(VERSION) \
59 -r $(PACKAGE)-`echo $(VERSION) | tr . _` \
61 $(RM) /tmp/$(PACKAGE)-$(VERSION)/ftp.in
62 cd /tmp; $(TAR) cvzf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
63 cd /tmp; $(RM) -r $(PACKAGE)-$(VERSION)
64 sed "s/VERSION/$(VERSION)/" < ftp.in | sed "s/API/$(API)/" \
65 | sed "s/PACKAGE/$(PACKAGE)/" > ftp
68 -$(RM) $(ARC_DIR)/$(PACKAGE)-$(VERSION).tar.gz
69 mv /tmp/$(PACKAGE)-$(VERSION).tar.gz $(ARC_DIR)