(Major Mode Conventions): A derived mode only needs to put the call to
[bpt/emacs.git] / lispref / Makefile.in
index 79be5fc..2fab86a 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile for the GNU Emacs Lisp Reference Manual.
 
-# Copyright (C) 1990,1991,1992,1993,1994,1995,1996,1998,1999,2000,2001,2003
+# Copyright (C) 1990,1991,1992,1993,1994,1995,1996,1998,1999,2000,2001,2003,2004
 #  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
@@ -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
@@ -46,7 +46,6 @@ srcs = \
   $(srcdir)/back.texi \
   $(srcdir)/backups.texi \
   $(srcdir)/buffers.texi \
-  $(srcdir)/calendar.texi \
   $(srcdir)/commands.texi \
   $(srcdir)/compile.texi \
   $(srcdir)/control.texi \
@@ -106,11 +105,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-* $(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,21 +123,21 @@ clean:
 distclean: clean
 
 maintainer-clean: clean
-       rm -f elisp elisp-* 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-[0-9] elisp-[0-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)
        (cd temp/$(manual); rm -f *~)
        (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz
        -rm -rf temp
-
-# arch-tag: f5a1a94d-62e1-4460-a2d1-f02e538ab554