X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile;h=fa488baba4f3af14b8ac42ae3de88fc39c1d9b0b;hb=99c158b34f006c5840785347fc7e711a6b246c0c;hp=c0fdb098c1d5008300f36d9c482c1400bb8799a2;hpb=8352b732ac2a1f27294120ac06c34944095a2ea6;p=elisp%2Fflim.git diff --git a/Makefile b/Makefile index c0fdb09..fa488ba 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ # PACKAGE = flim -VERSION = 1.11.2 +API = 1.12 +RELEASE = 1 TAR = tar RM = /bin/rm -f @@ -24,6 +25,9 @@ GOMI = *.elc \ *.pg *.pgs *.tp *.tps *.toc *.aux *.log FILES = README.?? Makefile FLIM-MK FLIM-CFG FLIM-ELS *.el ChangeLog +VERSION = $(API).$(RELEASE) +ARC_DIR = /pub/GNU/elisp/flim/$(PACKAGE)-$(API) +SEMI_ARC_DIR = /pub/GNU/elisp/semi/semi-1.12-for-flim-$(API) elc: ew-parse.el $(EMACS) $(FLAGS) -l FLIM-MK -f compile-flim $(PREFIX) $(LISPDIR) \ @@ -46,23 +50,22 @@ clean: tar: cvs commit - sh -c 'cvs tag -RF $(PACKAGE)-`echo $(VERSION) \ - | sed s/\\\\./_/ | sed s/\\\\./_/`; \ + sh -c 'cvs tag -RF $(PACKAGE)-`echo $(VERSION) | tr . _`; \ cd /tmp; \ cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \ export -d $(PACKAGE)-$(VERSION) \ - -r $(PACKAGE)-`echo $(VERSION) | sed s/\\\\./_/ | sed s/\\\\./_/` \ + -r $(PACKAGE)-`echo $(VERSION) | tr . _` \ flim' cd /tmp; $(RM) $(PACKAGE)-$(VERSION)/ftp.in ; \ $(TAR) cvzf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) cd /tmp; $(RM) -r $(PACKAGE)-$(VERSION) - sed "s/VERSION/$(VERSION)/" < ftp.in > ftp + sed "s/VERSION/$(VERSION)/" < ftp.in | sed "s/API/$(API)/" > ftp release: - -$(RM) /pub/GNU/elisp/flim/$(PACKAGE)-$(VERSION).tar.gz - mv /tmp/$(PACKAGE)-$(VERSION).tar.gz /pub/GNU/elisp/flim/ - cd /pub/GNU/elisp/semi/ ; \ - ln -s ../flim/$(PACKAGE)-$(VERSION).tar.gz . + -$(RM) $(ARC_DIR)/$(PACKAGE)-$(VERSION).tar.gz + mv /tmp/$(PACKAGE)-$(VERSION).tar.gz $(ARC_DIR) + cd $(SEMI_ARC_DIR) ; \ + ln -s ../../flim/flim-$(API)/$(PACKAGE)-$(VERSION).tar.gz . ew-parse.el: ew-parse.scm lalr-el.scm -scm -f lalr-el.scm -f ew-parse.scm > ew-parse.out @@ -73,4 +76,3 @@ check: # The file BENCHMARK is not a part of FLAM-DOODLE because it is so large. benchmark: $(EMACS) $(FLAGS_CURDIR) -l ./BENCHMARK -eval '(report)' -