* nnshimbun.el (nnshimbun-request-expire-articles): Fix inhibiting the
[elisp/gnus.git-] / Makefile.in
1 prefix = @prefix@
2 datadir = @datadir@
3 infodir = @infodir@
4 lispdir = @lispdir@
5 srcdir = @srcdir@
6
7 @SET_MAKE@
8 EMACS = @EMACS@
9 XEMACS = @XEMACS@
10 PACKAGEDIR = @PACKAGEDIR@
11 GNUS_PRODUCT_NAME = @GNUS_PRODUCT_NAME@
12
13 # It may be needed for Meadow/NTEmacs when sh.exe is used for SHELL.
14 # Because Meadow/NTEmacs will get the value of the current-directory from
15 # the environment variable PWD, but sh.exe will not take care of it even
16 # if the current-directory has changed.  So we should invalidate it.
17 PWD=
18
19 # It will be used to look for the XEmacs package path if this file is
20 # mis-configured (e.g. configured for FSFmacs).
21 EXAMINE_PACKAGEDIR = $(XEMACS) -batch -q -no-site-file -eval \
22         "(let (package-dir) \
23            (if (boundp (quote early-packages)) \
24                (let ((dirs (delq nil (append (if early-package-load-path \
25                                                  early-packages) \
26                                              (if late-package-load-path \
27                                                  late-packages) \
28                                              (if last-package-load-path \
29                                                  last-packages))))) \
30                  (while (and dirs (not package-dir)) \
31                    (if (file-directory-p (car dirs)) \
32                        (setq package-dir (car dirs) \
33                              dirs (cdr dirs)))))) \
34            (princ (or package-dir \"\")))" 2>/dev/null
35
36 all: lick info
37
38 all-ja: lick info info-ja
39
40 lick:
41         cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" all
42
43 #install: install-lisp install-info install-etc
44 install: install-lisp install-info
45
46 install-ja: install install-info-ja
47
48 install-lisp:
49         cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" install
50
51 install-info:
52         cd texi && $(MAKE) EMACS="$(EMACS)" infodir="$(infodir)" install
53
54 install-etc:
55         cd etc && $(MAKE) EMACS="$(EMACS)" install
56
57 install-info-ja:
58         cd texi && $(MAKE) EMACS="$(EMACS)" infodir="$(infodir)" install-ja
59
60 ## Rule for XEmacs package.
61 install-package: xclever compose-package remove-extra-files-in-package \
62         install-package-lisp \
63         install-package-info install-package-manifest
64
65 install-package-ja: xclever compose-package remove-extra-files-in-package \
66         install-package-lisp \
67         install-package-info install-package-info-ja \
68         install-package-manifest
69
70 package: xlick xinfo compose-package
71
72 package-ja: xlick xinfo xinfo-ja compose-package
73
74 # Sub-rule for XEmacs package.
75 install-package-lisp:
76         @if test x$(PACKAGEDIR) = x; then \
77           package_dir=`$(EXAMINE_PACKAGEDIR)`; \
78         else \
79           package_dir="$(PACKAGEDIR)"; \
80         fi; \
81         echo "cd lisp && $(MAKE) EMACS=$(XEMACS)" \
82                 "lispdir=$$package_dir""/lisp/$(GNUS_PRODUCT_NAME)" \
83                 "install-without-compiling"; \
84         cd lisp && $(MAKE) EMACS="$(XEMACS)" \
85                 lispdir="$$package_dir""/lisp/$(GNUS_PRODUCT_NAME)" \
86                 install-without-compiling
87
88 install-package-info:
89         @if test x$(PACKAGEDIR) = x; then \
90           package_dir=`$(EXAMINE_PACKAGEDIR)`; \
91         else \
92           package_dir="$(PACKAGEDIR)"; \
93         fi; \
94         echo "cd texi && $(MAKE) EMACS=$(XEMACS)" \
95                 "infodir=$$package_dir""/info install-info"; \
96         cd texi && $(MAKE) EMACS="$(XEMACS)" \
97                 infodir="$$package_dir""/info" install-info
98
99 install-package-info-ja:
100         @if test x$(PACKAGEDIR) = x; then \
101           package_dir=`$(EXAMINE_PACKAGEDIR)`; \
102         else \
103           package_dir="$(PACKAGEDIR)"; \
104         fi; \
105         echo "cd texi && $(MAKE) EMACS=$(XEMACS)" \
106                 "infodir=$$package_dir""/info install-ja-info"; \
107         cd texi && $(MAKE) EMACS="$(XEMACS)" \
108                 infodir="$$package_dir""/info" install-ja-info
109
110 install-package-manifest:
111         @if test x$(PACKAGEDIR) = x; then \
112           package_dir=`$(EXAMINE_PACKAGEDIR)`; \
113         else \
114           package_dir="$(PACKAGEDIR)"; \
115         fi; \
116         echo "cd lisp && $(MAKE) EMACS=$(XEMACS) PACKAGEDIR=$$package_dir" \
117                 "install-package-manifest"; \
118         cd lisp && $(MAKE) EMACS="$(XEMACS)" PACKAGEDIR=$$package_dir \
119                 install-package-manifest
120
121 remove-extra-files-in-package:
122         @if test x$(PACKAGEDIR) = x; then \
123           package_dir=`$(EXAMINE_PACKAGEDIR)`; \
124         else \
125           package_dir="$(PACKAGEDIR)"; \
126         fi; \
127         echo "cd lisp && $(MAKE) EMACS=$(XEMACS) PACKAGEDIR=$$package_dir" \
128                 "remove-extra-files-in-package"; \
129         cd lisp && $(MAKE) EMACS="$(XEMACS)" PACKAGEDIR=$$package_dir \
130                 remove-extra-files-in-package
131
132 compose-package:
133         cd lisp && $(MAKE) EMACS="$(XEMACS)" compose-package
134 ##
135
136 xclever:
137         cd lisp && $(MAKE) EMACS="$(XEMACS)" lispdir="$(lispdir)" clever
138
139 xlick:
140         cd lisp && $(MAKE) EMACS="$(XEMACS)" lispdir="$(lispdir)" all
141
142 xinfo:
143         cd texi && $(MAKE) EMACS="$(XEMACS)" all-info
144
145 xinfo-ja:
146         cd texi && $(MAKE) EMACS="$(XEMACS)" ja-info
147
148 # Rule for Lars and nobody else.
149 some:
150         cd lisp && $(MAKE) EMACS="$(EMACS)" some
151 l:
152         cd lisp && $(MAKE) EMACS="$(EMACS)" clever
153
154 info:
155         cd texi && $(MAKE) EMACS="$(EMACS)" all
156
157 info-ja:
158         cd texi && $(MAKE) EMACS=$(EMACS) ja
159
160 clean:
161         rm -f */*.orig */*.rej *.orig *.rej
162         rm -f MANIFEST.*
163         for i in lisp texi; do (cd $$i; $(MAKE) clean); done
164
165 elclean:
166         cd lisp && rm -f *.elc auto-autoloads.el custom-load.el gnus-load.el
167
168 x:
169         $(MAKE) EMACS="$(XEMACS)"
170
171 xsome:
172         $(MAKE) EMACS="$(XEMACS)" some
173
174 distclean: clean
175         rm -rf *~
176         for i in lisp texi etc; do (cd $$i; $(MAKE) distclean); done
177         rm -f config.log config.status config.cache Makefile
178
179 config.status: $(srcdir)/configure
180         $(SHELL) ./config.status --recheck
181 $(srcdir)/configure: $(srcdir)/configure.in
182         cd $(srcdir) && autoconf
183 Makefile: $(srcdir)/Makefile.in config.status
184         CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
185
186 # Tell versions [3.59,3.63) of GNU make to not export all variables.
187 # Otherwise a system limit (for SysV at least) may be exceeded.
188 .NOEXPORT: