diff options
| author | John Wiegley <johnw@newartisans.com> | 2008-08-29 02:42:58 -0400 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-08-29 02:42:58 -0400 |
| commit | 7e5230b8ffe32cfe7c1ec31d37c40684893aa787 (patch) | |
| tree | 182101ebdd0429321339ca54a49aae0f559a5fe2 /Makefile | |
| parent | 9cd4c61d4ddbe87f461e402c754ea37782674bfd (diff) | |
Changed to using an autoconf/automake setup for building. This precipitated
many changes to the code, including:
- documentation has been moved into doc/
- the chess-eco opening moves are pre-generated from chess-eco.ps into
chess-eco.fen, so users don't have to wait around for it to build
- no longer using lispdoc to auto-gen function stubs in chess.texi,
this means that chess-maint.el and lispdoc.el are gone
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index b602d79..0000000 --- a/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -SPECIAL = chess-auto.el -SOURCE = $(filter-out scid-browser.el $(SPECIAL),$(wildcard *.el)) -TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE)) -EMACS = emacs - -MAKEINFO = makeinfo -TEXI2DVI = texi2dvi -ENVADD = TEXINPUTS="$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)" - -all: $(TARGET) chess.info - -chess-auto.el: chess-auto.in $(SOURCE) - cp chess-auto.in chess-auto.el - -rm chess-auto.elc - $(EMACS) --no-init-file --no-site-file -batch \ - -l $(shell pwd)/chess-auto \ - -f generate-autoloads \ - $(shell pwd)/chess-auto.el . - -chess-eco.elc: chess-pos.elc chess-ply.elc - -%.elc: %.el - $(EMACS) --no-init-file --no-site-file -batch \ - -l $(shell pwd)/chess-maint \ - -f batch-byte-compile $< - -chess-final.texi: chess.texi $(SOURCE) - $(EMACS) --no-init-file --no-site-file -batch \ - -l $(shell pwd)/chess-maint \ - -f chess-generate-texinfo-file - -chess.info: chess-final.texi - $(MAKEINFO) chess-final.texi - -info: chess.info - -chess.ps: chess-final.dvi - dvips -o $@ $< - -chess-final.dvi: chess-final.texi - $(ENVADD) $(TEXI2DVI) chess-final.texi - -clean: - rm -f *~ chess.dvi chess-final.* game.* log.* - rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr - -fullclean: clean - -rm $(TARGET) chess.info chess-auto.el - -VERSION=$(shell perl -ne 'print $$1 if /chess-version.*"([^"]+)"/;' chess.el) - -dist: fullclean all chess.ps - rm -f *~ .*~ chess.dvi chess-final.* game.* log.* - rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr - cp -ar . /tmp/chess-$(VERSION) - tar cvjfXC /tmp/chess-$(VERSION).tar.bz2 \ - .exclude /tmp chess-$(VERSION) - rm -fr /tmp/chess-$(VERSION) - mv /tmp/chess-$(VERSION).tar.bz2 \ - $(HOME)//emacs/lisp - -TAG=$(shell echo $(VERSION) | sed 's/\./-/g') -CAT=$(shell echo $(VERSION) | perl -ne 'print $$1 if /[-0-9]+([ab])[0-9]+/;') -SUB=$(shell echo $(VERSION) | perl -ne 'print $$1 if /[-0-9]+[ab]([0-9]+)/;') -NEXT=$(shell expr $(SUB) + 1) -PKG = $(HOME)/emacs/lisp/chess-$(VERSION).tar.bz2 - -update: dist - cvs tag chess-$(TAG) - perl -i -pe 's/(chess-version.*)"([0-9.]+)[ab][0-9]+"/$$1"$$2$(CAT)$(NEXT)"/;' chess.el - cvs commit -m "bumped minor rev" chess.el - make fullclean - lftp -e "cd /incoming; put $(PKG); quit" upload.sourceforge.net -# sitecopy -ua |
