summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile74
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