# HG changeset patch # User Eli Zaretskii # Date 1005914549 0 # Node ID be613f250f607c3b1bc0b5c08b5197678a88d398 # Parent 20eb3e2945d7c733993eca7c9b44080ac4bb9930 (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. diff -r 20eb3e2945d7 -r be613f250f60 lispref/Makefile.in --- a/lispref/Makefile.in Fri Nov 16 12:05:48 2001 +0000 +++ b/lispref/Makefile.in Fri Nov 16 12:42:29 2001 +0000 @@ -26,7 +26,7 @@ # Tell make where to find source files; this is needed for the makefiles. VPATH=@srcdir@ -infodir = ../info +infodir = $(srcdir)/../info # Redefine `TEX' if `tex' does not invoke plain TeX. For example: # TEX=platex @@ -111,7 +111,7 @@ info: $(infodir)/elisp $(infodir)/elisp: $(srcs) index.texi - cd $(srcdir); $(MAKEINFO) -I. elisp.texi -o $(infodir)/elisp + $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp elisp.dvi: $(srcs) index.texi # Avoid losing old contents of aux file entirely. @@ -131,9 +131,9 @@ index.texi: if [ a${permuted_index} != a ]; \ then \ - ln -s $(srcdir)/index.perm index.texi || ln $(srcdir)/index.perm index.texi; \ + ln -s $(srcdir)/index.perm index.texi || ln $(srcdir)/index.perm index.texi || cp $(srcdir)/index.perm index.texi; \ else \ - ln -s $(srcdir)/index.unperm index.texi || ln $(srcdir)/index.unperm index.texi; \ + ln -s $(srcdir)/index.unperm index.texi || ln $(srcdir)/index.unperm index.texi || cp $(srcdir)/index.unperm index.texi; \ fi install: elisp