Support distclean in etc.
[gnus] / Makefile.in
1 prefix = @prefix@
2 datadir = @datadir@
3 lispdir = @lispdir@
4 srcdir = @srcdir@
5
6 @SET_MAKE@
7 EMACS = @EMACS@
8 XEMACS = xemacs
9
10 all: lick info
11
12 lick:
13         cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" all
14
15 install:
16         cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" install
17         cd texi && $(MAKE) EMACS="$(EMACS)" install
18         cd etc && $(MAKE) EMACS="$(EMACS)" install
19
20 # Rule for Lars and nobody else.
21 some:
22         cd lisp && $(MAKE) EMACS="$(EMACS)" some
23 l:
24         cd lisp && $(MAKE) EMACS="$(EMACS)" clever
25
26 info:
27         cd texi && $(MAKE) EMACS="$(EMACS)" all
28
29 clean:
30         rm -f */*.orig */*.rej *.orig *.rej
31
32 elclean:
33         rm lisp/*.elc
34
35 x:
36         $(MAKE) EMACS=$(XEMACS)
37
38 xsome:
39         $(MAKE) EMACS="$(XEMACS)" some
40
41 distclean:
42         make clean
43         rm -rf *~
44         for i in lisp texi etc; do (cd $$i; make distclean); done
45         rm -f config.log config.status config.cache Makefile
46
47 config.status: $(srcdir)/configure
48         $(SHELL) ./config.status --recheck
49 $(srcdir)/configure: $(srcdir)/configure.in
50         cd $(srcdir) && autoconf
51 Makefile: $(srcdir)/Makefile.in config.status
52         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
53
54 # Tell versions [3.59,3.63) of GNU make to not export all variables.
55 # Otherwise a system limit (for SysV at least) may be exceeded.
56 .NOEXPORT: