annotate doc/lispintro/makefile.w32-in @ 111752:3776ded7f730

Make the sys.path remove in Python mode customizable (Bug#7454). * progmodes/python.el (run-python): Doc fix. (python-keep-current-directory-in-path): New var (Bug#7454).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 21 Nov 2010 11:52:05 -0500
parents 1d1d5d9bd884
children 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 #### -*- Makefile -*- for the Emacs Lisp Introduction manual.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106515
diff changeset
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
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
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
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
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
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 # GNU General Public License for more details.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
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
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 srcdir = .
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
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
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 # The file name eintr must fit within 5 characters, to allow for
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 # -NN extensions to fit into DOS 8+3 limits without clashing
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 INFO_TARGETS = $(infodir)/eintr
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 DVI_TARGETS = emacs-lisp-intro.dvi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 MAKEINFO = makeinfo
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 INSTALL_INFO = install-info
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 TEXI2DVI = texi2dvi
105776
88934faa0925 (texinfodir, TEXI2PDF): New variables.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
37 TEXI2PDF = texi2pdf
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
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
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 .SUFFIXES: .dvi .ps .texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43
91602
9bbb6ab858c8 Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
44 info: $(INFO_TARGETS)
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45
91602
9bbb6ab858c8 Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
46 $(infodir)/dir:
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 dvi: $(DVI_TARGETS)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 $(infodir)/eintr: $(INFO_SOURCES)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 emacs-lisp-intro.dvi: $(INFO_SOURCES)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
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
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 emacs-lisp-intro.html: $(INFO_SOURCES)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 .dvi.ps:
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 $(DVIPS) $< -o $@
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 mostlyclean:
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 clean: mostlyclean
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 - $(DEL) *.dvi $(infodir)/eintr*
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 distclean: clean
96100
56850301da07 (distclean): Remove makefile.
Eli Zaretskii <eliz@gnu.org>
parents: 95034
diff changeset
73 - $(DEL) makefile
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 maintainer-clean: distclean
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 # Tell versions [3.59,3.63) of GNU make to not export all variables.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 # Otherwise a system limit (for SysV at least) may be exceeded.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 .NOEXPORT: