From e4cff5985b9c5d1c0d6f647f632f4d6ca92e79ff Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 8 Apr 2002 07:05:54 +0000 Subject: Added a 'dist' target --- Makefile | 14 ++++++++++++-- chess-auto.el | 18 ------------------ 2 files changed, 12 insertions(+), 20 deletions(-) delete mode 100644 chess-auto.el 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) - -;;;*** -- cgit v1.2.3