summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile14
-rw-r--r--chess-auto.el18
2 files changed, 12 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index b66932c..9776f49 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,18 @@ chess.dvi: chess-final.texi
$(ENVADD) $(TEXI2DVI) chess-final.texi
clean:
- rm -f $(TARGET) *~ chess.dvi chess.info chess-final.*
+ rm -f *~ chess.dvi chess-final.*
rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
fullclean: clean
- -rm *.elc chess-auto.el
+ -rm $(TARGET) chess.info chess-auto.el
+
+VERSION=$(shell perl -ne 'print $$1 if /chess-version.*"([^"]+)"/;' chess.el)
+
+dist: fullclean all clean
+ cp -ar . /var/tmp/chess-$(VERSION)
+ tar cvjfXC /var/tmp/chess-$(VERSION).tar.bz2 \
+ .exclude /var/tmp chess-$(VERSION)
+ rm -fr /var/tmp/chess-$(VERSION)
+ mv /var/tmp/chess-$(VERSION).tar.bz2 \
+ $(HOME)/public_html/Emacs/packages
diff --git a/chess-auto.el b/chess-auto.el
deleted file mode 100644
index 39c3322..0000000
--- a/chess-auto.el
+++ /dev/null
@@ -1,18 +0,0 @@
-;;; -*-emacs-lisp-*-
-
-(defun generate-autoloads ()
- (interactive)
- (require 'autoload)
- (setq generated-autoload-file (car command-line-args-left))
- (setq command-line-args-left (cdr command-line-args-left))
- (batch-update-autoloads))
-
-;;; Generated autoloads follow (made by autoload.el).
-
-;;;### (autoloads (chess) "chess" "chess.el" (15535 63810))
-;;; Generated autoloads from chess.el
-
-(autoload (quote chess) "chess" "\
-Start a game of chess." t nil)
-
-;;;***