aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-11-16 12:42:29 +0000
committerEli Zaretskii2001-11-16 12:42:29 +0000
commit4eeb568b5d9db09efbd13b7360a453a3b991b719 (patch)
tree7952ca5e353a0d1f7d72a561ead37035939e9dd8
parenta959e7236a29cac991e58e798ab125753326b813 (diff)
downloademacs-4eeb568b5d9db09efbd13b7360a453a3b991b719.tar.gz
emacs-4eeb568b5d9db09efbd13b7360a453a3b991b719.zip
(infodir): Define relative to $(srcdir).
($(infodir)/elisp): Don't chdir into $(srcdir), but add it to the include directories list via -I switch to makeinfo. (index.texi): Use cp if both hard and symbolic links fail.
-rw-r--r--lispref/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/lispref/Makefile.in b/lispref/Makefile.in
index 45ef705d110..71605c4b65b 100644
--- a/lispref/Makefile.in
+++ b/lispref/Makefile.in
@@ -26,7 +26,7 @@ srcdir = @srcdir@
26# Tell make where to find source files; this is needed for the makefiles. 26# Tell make where to find source files; this is needed for the makefiles.
27VPATH=@srcdir@ 27VPATH=@srcdir@
28 28
29infodir = ../info 29infodir = $(srcdir)/../info
30 30
31# Redefine `TEX' if `tex' does not invoke plain TeX. For example: 31# Redefine `TEX' if `tex' does not invoke plain TeX. For example:
32# TEX=platex 32# TEX=platex
@@ -111,7 +111,7 @@ srcs = \
111info: $(infodir)/elisp 111info: $(infodir)/elisp
112 112
113$(infodir)/elisp: $(srcs) index.texi 113$(infodir)/elisp: $(srcs) index.texi
114 cd $(srcdir); $(MAKEINFO) -I. elisp.texi -o $(infodir)/elisp 114 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp
115 115
116elisp.dvi: $(srcs) index.texi 116elisp.dvi: $(srcs) index.texi
117 # Avoid losing old contents of aux file entirely. 117 # Avoid losing old contents of aux file entirely.
@@ -131,9 +131,9 @@ elisp.dvi: $(srcs) index.texi
131index.texi: 131index.texi:
132 if [ a${permuted_index} != a ]; \ 132 if [ a${permuted_index} != a ]; \
133 then \ 133 then \
134 ln -s $(srcdir)/index.perm index.texi || ln $(srcdir)/index.perm index.texi; \ 134 ln -s $(srcdir)/index.perm index.texi || ln $(srcdir)/index.perm index.texi || cp $(srcdir)/index.perm index.texi; \
135 else \ 135 else \
136 ln -s $(srcdir)/index.unperm index.texi || ln $(srcdir)/index.unperm index.texi; \ 136 ln -s $(srcdir)/index.unperm index.texi || ln $(srcdir)/index.unperm index.texi || cp $(srcdir)/index.unperm index.texi; \
137 fi 137 fi
138 138
139install: elisp 139install: elisp