15 FLAGS = -batch -q -no-site-file -l FLIM-MK
20 VERSION_SPECIFIC_LISPDIR = NONE
23 *.cp *.cps *.ky *.kys *.fn *.fns *.vr *.vrs \
24 *.pg *.pgs *.tp *.tps *.toc *.aux *.log
25 FILES = README.?? Makefile FLIM-MK FLIM-CFG FLIM-ELS *.el ChangeLog
27 VERSION = $(API).$(RELEASE)
28 ARC_DIR_PREFIX = /home/kanji/tomo/public_html/lemi/dist
29 ARC_DIR = $(ARC_DIR_PREFIX)/flim/flim-$(API)
30 SEMI_ARC_DIR = $(ARC_DIR_PREFIX)/semi/semi-1.14-for-flim-$(API)
32 CVS_HOST = cvs.m17n.org
35 $(EMACS) $(FLAGS) -f compile-flim $(PREFIX) $(LISPDIR) \
36 $(VERSION_SPECIFIC_LISPDIR)
39 $(EMACS) $(FLAGS) -f check-flim $(PREFIX) $(LISPDIR) \
40 $(VERSION_SPECIFIC_LISPDIR)
43 $(EMACS) $(FLAGS) -f install-flim $(PREFIX) $(LISPDIR) \
44 $(VERSION_SPECIFIC_LISPDIR)
48 $(XEMACS) $(FLAGS) -f compile-flim-package $(PACKAGEDIR)
50 install-package: package
51 $(XEMACS) $(FLAGS) -f install-flim-package $(PACKAGEDIR)
59 sh -c 'cvs tag -R $(PACKAGE)-`echo $(VERSION) | tr . _`; \
61 cvs -d :pserver:anonymous@$(CVS_HOST):/cvs/root \
62 export -d $(PACKAGE)-$(VERSION) \
63 -r $(PACKAGE)-`echo $(VERSION) | tr . _` \
65 cd /tmp; $(RM) $(PACKAGE)-$(VERSION)/ftp.in ; \
66 $(TAR) cvzf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
67 cd /tmp; $(RM) -r $(PACKAGE)-$(VERSION)
68 sed "s/VERSION/$(VERSION)/" < ftp.in | sed "s/API/$(API)/" \
69 | sed "s/PACKAGE/$(PACKAGE)/" > ftp
72 -$(RM) $(ARC_DIR)/$(PACKAGE)-$(VERSION).tar.gz
73 mv /tmp/$(PACKAGE)-$(VERSION).tar.gz $(ARC_DIR)
74 cd $(SEMI_ARC_DIR) ; \
75 ln -s ../../flim/flim-$(API)/$(PACKAGE)-$(VERSION).tar.gz .