[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lispref installation is broken
From: |
Richard Stallman |
Subject: |
Re: lispref installation is broken |
Date: |
Sat, 20 Nov 2004 20:10:46 -0500 |
The inconsistency lies in the fact that the DVI is built locally, and
the info file in $srcdir/../info (which, being part of the source tree,
may be read-only).
That's the way Emacs handles all info files, so I don't think it is
wrong.
The brokenness lies in the fact that the `install' target then copies
the info files from the local directory (where they don't exist) to
the $infodir directory (= $srcdir/../info) where they already are.
The `install' target seems to be meant for use in a separate distro of
the Emacs Lisp manual, if you make one. It is not used in Emacs
installation as far as I can see. What was your occasion for using
that target?
I think these are more or less the right changes to make for the
sake of such a separate distro. I am not sure that feature is
worth supporting, so I haven't tested it.
*** Makefile.in 06 Nov 2004 22:45:06 -0500 1.29
--- Makefile.in 20 Nov 2004 16:36:19 -0500
***************
*** 106,116 ****
--- 106,121 ----
elisp.dvi: $(srcs)
$(TEXI2DVI) -I $(srcdir) $(srcdir)/elisp.texi
+ # This is for use in a separate distro of the Emacs Lisp manual.
install: elisp
$(srcdir)/mkinstalldirs $(infodir)
cp elisp elisp-[1-9] elisp-[1-9][0-9] $(infodir)
${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp
+ # This is for use in a separate distro of the Emacs Lisp manual.
+ elisp: $(srcs)
+ $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi
+
clean:
rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
*.vr *.vrs *.pg *.pgs *.ky *.kys
***************
*** 121,134 ****
maintainer-clean: clean
rm -f elisp elisp-[1-9] elisp-[1-9][0-9] elisp.dvi elisp.oaux
! dist: elisp elisp.dvi
-rm -rf temp
-mkdir temp
-mkdir temp/$(manual)
-ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \
$(srcdir)/Makefile.in $(srcs) \
$(srcdir)/../man/texinfo.tex \
! elisp.dvi elisp.aux elisp.??s elisp elisp-[1-9] elisp-[1-9][0-9] \
temp/$(manual)
-(cd temp/$(manual); rm -f mkinstalldirs)
cp $(srcdir)/mkinstalldirs temp/$(manual)
--- 126,140 ----
maintainer-clean: clean
rm -f elisp elisp-[1-9] elisp-[1-9][0-9] elisp.dvi elisp.oaux
! dist: $(infodir)/elisp elisp.dvi
-rm -rf temp
-mkdir temp
-mkdir temp/$(manual)
-ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \
$(srcdir)/Makefile.in $(srcs) \
$(srcdir)/../man/texinfo.tex \
! elisp.dvi elisp.aux elisp.??s \
! $(infodir)/elisp $(infodir)/elisp-[1-9] $(infodir)/elisp-[1-9][0-9] \
temp/$(manual)
-(cd temp/$(manual); rm -f mkinstalldirs)
cp $(srcdir)/mkinstalldirs temp/$(manual)