Add newlines between pictures and text.
[gnus] / lisp / Makefile.in
1 prefix = @prefix@
2 datarootdir = @datarootdir@
3 datadir = @datadir@
4 lispdir = @lispdir@
5 srcdir = @srcdir@
6 subdir = lisp
7 top_srcdir = @top_srcdir@
8
9 EMACS = @EMACS@
10 FLAGS = @FLAGS@
11 INSTALL = @INSTALL@
12 INSTALL_DATA = @INSTALL_DATA@
13 SHELL = /bin/sh
14 VPATH = @srcdir@
15 W3DIR = @W3@
16 URLDIR = @URL@
17 EMACS_COMP = URLDIR="$(URLDIR)" W3DIR="$(W3DIR)" lispdir="$(lispdir)" srcdir=$(srcdir) $(EMACS) $(FLAGS)
18
19 all total: clean-some gnus-load.el
20         $(EMACS_COMP) -f dgnushack-compile
21
22 clean-some:
23         rm -f *.elc gnus-load.el auto-autoloads.* custom-load.*
24
25 warn: clean-some gnus-load.el
26         $(EMACS_COMP) --eval '(dgnushack-compile t)' 2>&1 | egrep -v "variable G|inhibit-point-motion-hooks|coding-system|temp-results|variable gnus|variable nn|scroll-in-place|deactivate-mark|filladapt-mode|byte-code-function-p|print-quoted|ps-right-header|ps-left-header|article-inhibit|print-escape|ssl-program-arguments|message-log-max"
27
28 # The "clever" rule is unsafe, since redefined macros are loaded from
29 # .elc files, and not the .el file.
30 clever some l: gnus-load.el
31         $(EMACS_COMP) -f dgnushack-compile
32
33 install: install-el-elc list-installed-shadows
34
35 # This entry will never install .el files if there are no .elc files.
36 install-el: gnus-load.el
37         $(SHELL) $(top_srcdir)/mkinstalldirs "$(lispdir)"
38         $(INSTALL_DATA) gnus-load.el "$(lispdir)/gnus-load.el"
39         @for p in *.elc; do \
40           p=`basename $$p c`; \
41           if [ -f "$(srcdir)/$$p" ]; then \
42             echo "$(INSTALL_DATA) $$p \"$(lispdir)/$$p\""; \
43             $(INSTALL_DATA) $(srcdir)/$$p "$(lispdir)/$$p"; \
44           fi; \
45         done
46
47 install-elc: clever
48         rm -f dgnushack.elc
49         $(SHELL) $(top_srcdir)/mkinstalldirs "$(lispdir)"
50         @for p in *.elc; do \
51           echo "$(INSTALL_DATA) $$p \"$(lispdir)/$$p\""; \
52           $(INSTALL_DATA) $$p "$(lispdir)/$$p"; \
53         done
54
55 install-el-elc: clever
56         rm -f dgnushack.elc
57         $(SHELL) $(top_srcdir)/mkinstalldirs "$(lispdir)"
58         $(INSTALL_DATA) gnus-load.el "$(lispdir)/gnus-load.el"
59         @for p in *.elc; do \
60           q=`basename $$p c`; \
61           if [ -f "$(srcdir)/$$q" ]; then \
62             echo "$(INSTALL_DATA) $$q \"$(lispdir)/$$q\""; \
63             $(INSTALL_DATA) $(srcdir)/$$q "$(lispdir)/$$q"; \
64           fi; \
65           echo "$(INSTALL_DATA) $$p \"$(lispdir)/$$p\""; \
66           $(INSTALL_DATA) $$p "$(lispdir)/$$p"; \
67         done
68
69 list-installed-shadows:
70         $(EMACS_COMP) -f dgnushack-find-lisp-shadows
71
72 remove-installed-shadows:
73         $(EMACS_COMP) -f dgnushack-remove-lisp-shadows
74
75 uninstall:
76         for p in *.elc; do \
77           rm -f "$(lispdir)/$$p"; \
78         done
79         cd $(srcdir); \
80         for p in *.el; do \
81           rm -f "$(lispdir)/$$p"; \
82         done
83
84 tags:
85         etags *.el
86
87 separately:
88         rm -f *.elc ; for i in *.el; do $(EMACS) $(FLAGS) -f batch-byte-compile $$i; done
89
90 pot:
91         xpot -drgnus -r`cat ./version` *.el > rgnus.pot
92
93 gnus-load.el:
94         $(EMACS_COMP) -f dgnushack-make-cus-load $(srcdir)
95         $(EMACS_COMP) -f dgnushack-make-auto-load $(srcdir)
96         $(EMACS_COMP) -f dgnushack-make-load
97
98 clean:
99         rm -f *.elc *.orig *.rej *~ auto-autoloads.* custom-load.* gnus-load.el
100
101 distclean: clean
102         rm -f Makefile
103
104 Makefile: $(srcdir)/Makefile.in ../config.status
105         cd .. \
106           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
107
108 # Tell versions [3.59,3.63) of GNU make to not export all variables.
109 # Otherwise a system limit (for SysV at least) may be exceeded.
110 .NOEXPORT: