]> code.delx.au - gnu-emacs/blobdiff - lispref/makefile.w32-in
*** empty log message ***
[gnu-emacs] / lispref / makefile.w32-in
index 8f4baa423ca7097afd66a824898cf1e57d3ff556..8d4a95911ce4ffcd650b48662dc053cc34bfd4bf 100644 (file)
@@ -1,6 +1,6 @@
-# Makefile for the GNU Emacs Lisp Reference Manual.
+# -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
 
-# Copyright (C) 2003
+# Copyright (C) 2003, 2004
 #  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
@@ -39,9 +39,6 @@ texinputdir = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
 VERSION=2.9
 manual = elisp-manual-21-$(VERSION)
 
-# Uncomment this line for permuted index.
-# permuted_index = 1 
-
 # List of all the texinfo files in the manual:
 
 srcs = \
@@ -95,8 +92,7 @@ srcs = \
   $(srcdir)/tips.texi \
   $(srcdir)/variables.texi \
   $(srcdir)/windows.texi \
-  $(srcdir)/index.unperm \
-  $(srcdir)/index.perm \
+  $(srcdir)/index.texi \
   $(srcdir)/gpl.texi \
   $(srcdir)/doclicense.texi
 
@@ -107,32 +103,19 @@ srcs = \
 info: $(infodir)/elisp
        $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
 
-$(infodir)/elisp: $(srcs) index.texi
-       $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp
+$(infodir)/elisp: $(srcs)
+       $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi
 
-elisp.dvi: $(srcs) index.texi
-#      Avoid losing old contents of aux file entirely.
-       -ren elisp.aux elisp.oaux
-#      First shot to define xrefs.
-       $(texinputdir) $(TEX) $(srcdir)/elisp.texi
-       if not a$(permuted_index) == a  sh $(srcdir)/permute-index
-       if not a$(permuted_index) == a  ren permuted.fns elisp.fns
-       if not a$(permuted_index) == a  texindex elisp.tp
-       if a$(permuted_index) == a  texindex elisp.??
+elisp.dvi: $(srcs)
        $(texinputdir) $(TEX) $(srcdir)/elisp.texi
 
-index.texi:
-       if a$(permuted_index) == a  cp $(srcdir)/index.unperm index.texi
-       if not a$(permuted_index) == a  cp $(srcdir)/index.perm index.texi
-
 clean:
-       rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
-              *.vr *.vrs *.pg *.pgs *.ky *.kys
-       rm -f make.out core 
-       rm -f index.texi
-       rm -f $(infodir)/elisp*
+       - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
+                 *.vr *.vrs *.pg *.pgs *.ky *.kys
+       - $(DEL) make.out core
+       - $(DEL) $(infodir)/elisp*
 
 distclean: clean
 
 maintainer-clean: clean
-       rm -f elisp elisp-* elisp.dvi elisp.oaux
+       - $(DEL) elisp elisp-* elisp.dvi elisp.oaux