]> code.delx.au - gnu-emacs/blobdiff - lispref/Makefile.in
(Character Motion): Mention default arg for forward-char.
[gnu-emacs] / lispref / Makefile.in
index 252ab1aaaedb16de2d9c99296bb470e13bc2eeae..770ffd5769a7a78bfec0538b2358e30841321a83 100644 (file)
@@ -31,7 +31,7 @@ infodir = $(srcdir)/../info
 TEXI2DVI = texi2dvi
 SHELL = /bin/sh
 INSTALL_INFO = install-info
-MAKEINFO = makeinfo
+MAKEINFO = makeinfo --force
 
 # The name of the manual:
 VERSION=2.9
@@ -106,11 +106,16 @@ $(infodir)/elisp: $(srcs)
 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
@@ -119,16 +124,18 @@ clean:
 distclean: clean
 
 maintainer-clean: clean
-       rm -f elisp elisp-[1-9] elisp-[1-9][0-9] elisp.dvi elisp.oaux
+       rm -f elisp.dvi elisp.oaux
+       cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9] 
 
-dist: elisp elisp.dvi
+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 elisp elisp-[1-9] elisp-[1-9][0-9] \
+ 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)