Importing Pterodactyl Gnus v0.95.
[elisp/gnus.git-] / lisp / Makefile
1 SHELL = /bin/sh
2 EMACS=emacs
3 FLAGS=-batch -q -no-site-file -l ./dgnushack.el
4
5 total:
6         rm -f *.elc ; $(EMACS) $(FLAGS) -f dgnushack-compile
7
8 all:
9         rm -f *.elc ; $(EMACS) $(FLAGS) -f dgnushack-compile
10
11 clever:
12         $(EMACS) $(FLAGS) -f dgnushack-compile
13
14 some:
15         $(EMACS) $(FLAGS) -f dgnushack-compile
16
17 tags:
18         etags *.el
19
20 separately:
21         rm -f *.elc ; for i in *.el; do $(EMACS) $(FLAGS) -f batch-byte-compile $$i; done
22
23 pot:
24         xpot -drgnus -r`cat ./version` *.el > rgnus.pot
25
26 gnus-load.el: 
27         echo ";;; gnus-load.el --- automatically extracted custom dependencies" > gnus-load.el
28         echo ";;" >> gnus-load.el
29         echo ";;; Code:" >> gnus-load.el
30         echo >> gnus-load.el
31         $(EMACS)  $(FLAGS) -l ./dgnushack.el -l cus-edit.el *.el \
32                 -f custom-make-dependencies >> gnus-load.el
33         echo >> gnus-load.el
34         echo "(provide 'gnus-load)" >> gnus-load.el
35         echo >> gnus-load.el
36         echo ";;; gnus-load.el ends here" >> gnus-load.el
37
38 distclean:
39         rm -f *.orig *.rej *.elc *~
40