diff lisp/gnus/Makefile @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents 1ce6082ce73f
children cf808b4c4290
line wrap: on
line diff
--- a/lisp/gnus/Makefile	Mon Aug 13 09:12:43 2007 +0200
+++ b/lisp/gnus/Makefile	Mon Aug 13 09:13:56 2007 +0200
@@ -1,10 +1,16 @@
 SHELL = /bin/sh
 EMACS=emacs
-FLAGS=-batch -q -no-site-file -l bytecomp -l ./dgnushack.el
+FLAGS=-batch -q -no-site-file -l ./dgnushack.el
+
+total:
+	rm -f *.elc ; $(EMACS) $(FLAGS) -f dgnushack-compile
 
 all:
 	rm -f *.elc ; $(EMACS) $(FLAGS) -f dgnushack-compile
 
+clever:
+	$(EMACS) $(FLAGS) -f dgnushack-compile
+
 some:
 	$(EMACS) $(FLAGS) -f dgnushack-recompile
 
@@ -13,3 +19,18 @@
 
 separately:
 	rm -f *.elc ; for i in *.el; do $(EMACS) $(FLAGS) -f batch-byte-compile $$i; done
+
+pot:
+	xpot -drgnus -r`cat ./version` *.el > rgnus.pot
+
+gnus-load.el: 
+	echo ";;; gnus-load.el --- automatically extracted custom dependencies" > gnus-load.el
+	echo ";;" >> gnus-load.el
+	echo ";;; Code:" >> gnus-load.el
+	echo >> gnus-load.el
+	$(EMACS)  $(FLAGS) -l ./dgnushack.el -l custom-edit.el *.el \
+		-f custom-make-dependencies >> gnus-load.el
+	echo >> gnus-load.el
+	echo "(provide 'gnus-load)" >> gnus-load.el
+	echo >> gnus-load.el
+	echo ";;; gnus-load.el ends here" >> gnus-load.el