0
|
1 SHELL = /bin/sh
|
|
2 EMACS=emacs
|
|
3 FLAGS=-batch -q -no-site-file -l ./dgnushack.el
|
|
4
|
16
|
5 total:
|
|
6 rm -f *.elc ; $(EMACS) $(FLAGS) -f dgnushack-compile
|
|
7
|
0
|
8 all:
|
|
9 rm -f *.elc ; $(EMACS) $(FLAGS) -f dgnushack-compile
|
|
10
|
16
|
11 clever:
|
|
12 $(EMACS) $(FLAGS) -f dgnushack-compile
|
|
13
|
0
|
14 some:
|
|
15 $(EMACS) $(FLAGS) -f dgnushack-recompile
|
|
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
|
16
|
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 custom-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
|
26
|
37
|
|
38 distclean:
|
|
39 rm -f *.orig *.rej *.elc *~
|
|
40
|