Mercurial > emacs
annotate doc/lispintro/makefile.w32-in @ 111945:c00190a8c8ef
Merge from emacs-23
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 13 Dec 2010 10:27:36 -0500 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
rev | line source |
---|---|
83960 | 1 #### -*- Makefile -*- for the Emacs Lisp Introduction manual. |
2 | |
106815 | 3 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
95034
38ec81da0a8b
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91602
diff
changeset
|
4 # Free Software Foundation, Inc. |
83960 | 5 |
6 # This file is part of GNU Emacs. | |
7 | |
95034
38ec81da0a8b
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91602
diff
changeset
|
8 # GNU Emacs is free software: you can redistribute it and/or modify |
83960 | 9 # it under the terms of the GNU General Public License as published by |
95034
38ec81da0a8b
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91602
diff
changeset
|
10 # the Free Software Foundation, either version 3 of the License, or |
38ec81da0a8b
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91602
diff
changeset
|
11 # (at your option) any later version. |
83960 | 12 |
13 # GNU Emacs is distributed in the hope that it will be useful, | |
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 # GNU General Public License for more details. | |
17 | |
18 # You should have received a copy of the GNU General Public License | |
95034
38ec81da0a8b
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91602
diff
changeset
|
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
38ec81da0a8b
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91602
diff
changeset
|
20 |
83960 | 21 |
22 srcdir = . | |
23 | |
83966
027b8b5bc713
(infodir, ENVADD): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents:
83960
diff
changeset
|
24 infodir = $(srcdir)/../../info |
105776
88934faa0925
(texinfodir, TEXI2PDF): New variables.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
25 # Directory with the (customized) texinfo.tex file. |
88934faa0925
(texinfodir, TEXI2PDF): New variables.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
26 texinfodir = $(srcdir)/../misc |
83960 | 27 |
28 INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi | |
29 # The file name eintr must fit within 5 characters, to allow for | |
30 # -NN extensions to fit into DOS 8+3 limits without clashing | |
31 INFO_TARGETS = $(infodir)/eintr | |
32 DVI_TARGETS = emacs-lisp-intro.dvi | |
33 | |
34 MAKEINFO = makeinfo | |
35 INSTALL_INFO = install-info | |
36 TEXI2DVI = texi2dvi | |
105776
88934faa0925
(texinfodir, TEXI2PDF): New variables.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
37 TEXI2PDF = texi2pdf |
83960 | 38 DVIPS = dvips |
83966
027b8b5bc713
(infodir, ENVADD): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents:
83960
diff
changeset
|
39 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ |
105776
88934faa0925
(texinfodir, TEXI2PDF): New variables.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
40 "MAKEINFO=$(MAKEINFO) -I$(srcdir) -I$(texinfodir)" /C |
83960 | 41 |
42 .SUFFIXES: .dvi .ps .texi | |
43 | |
91602 | 44 info: $(INFO_TARGETS) |
83960 | 45 |
91602 | 46 $(infodir)/dir: |
83960 | 47 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS) |
48 | |
49 dvi: $(DVI_TARGETS) | |
50 | |
51 $(infodir)/eintr: $(INFO_SOURCES) | |
52 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi | |
53 | |
54 emacs-lisp-intro.dvi: $(INFO_SOURCES) | |
55 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi | |
56 | |
106515
38ff092d4d00
* lib-src/makefile.w32-in, doc/lispintro/makefile.w32-in: Use
Chong Yidong <cyd@stupidchicken.com>
parents:
105776
diff
changeset
|
57 emacs-lisp-intro.pdf: $(INFO_SOURCES) |
105776
88934faa0925
(texinfodir, TEXI2PDF): New variables.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
58 $(ENVADD) $(TEXI2PDF) $(srcdir)/emacs-lisp-intro.texi |
88934faa0925
(texinfodir, TEXI2PDF): New variables.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
59 |
83960 | 60 emacs-lisp-intro.html: $(INFO_SOURCES) |
61 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi | |
62 | |
63 .dvi.ps: | |
64 $(DVIPS) $< -o $@ | |
65 | |
66 mostlyclean: | |
67 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp | |
68 | |
69 clean: mostlyclean | |
70 - $(DEL) *.dvi $(infodir)/eintr* | |
71 | |
72 distclean: clean | |
96100
56850301da07
(distclean): Remove makefile.
Eli Zaretskii <eliz@gnu.org>
parents:
95034
diff
changeset
|
73 - $(DEL) makefile |
83960 | 74 |
75 maintainer-clean: distclean | |
76 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc | |
77 | |
78 # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
79 # Otherwise a system limit (for SysV at least) may be exceeded. | |
80 .NOEXPORT: |