]> code.delx.au - gnu-emacs/blobdiff - nt/makefile.w32-in
Update years in copyright notice; nfc.
[gnu-emacs] / nt / makefile.w32-in
index 4e8265f4da042a0beb4dee4763e08436c2a5558f..ca1e22b93bbab2a1490ace41b8c0a3f7038ca822 100644 (file)
@@ -1,5 +1,6 @@
-#  Makefile for GNU Emacs on the Microsoft W32 API.\r
-#  Copyright (c) 2000-2001 Free Software Foundation, Inc.\r
+#  -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.\r
+#  Copyright (C) 2000, 2001, 2002, 2003, 2004,\r
+#    2005, 2006 Free Software Foundation, Inc.\r
 #\r
 #  Top level makefile for building GNU Emacs on Windows NT\r
 #\r
@@ -17,8 +18,8 @@
 #\r
 #  You should have received a copy of the GNU General Public License\r
 #  along with GNU Emacs; see the file COPYING.  If not, write to\r
-#  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\r
-#  Boston, MA 02111-1307, USA.\r
+#  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\r
+#  Boston, MA 02110-1301, USA.\r
 \r
 ALL            = addpm ddeclient runemacs cmdproxy addsection preprep\r
 \r
@@ -111,10 +112,10 @@ maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)
 doit:\r
 \r
 maybe-bootstrap-CMD:   doit\r
-       @echo.\r
+       @echo .\r
        @if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing.  You should either\r
        @if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow\r
-       @echo.\r
+       @echo .\r
        @if not EXIST ..\lisp\abbrev.elc exit -1\r
 \r
 maybe-bootstrap-SH: doit\r
@@ -139,7 +140,7 @@ bootstrap-nmake:
        $(MAKE) $(MFLAGS) bootstrap\r
        $(MAKE) $(MFLAGS) bootstrap-clean\r
        cd ..\lisp\r
-       $(MAKE) $(MFLAGS) bootstrap\r
+       $(MAKE) $(MFLAGS) SHELL=$(SHELLTYPE) bootstrap\r
        cd ..\lib-src\r
        $(MAKE) $(MFLAGS) DOC\r
        cd ..\nt\r
@@ -179,7 +180,6 @@ install: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE)
        - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin\r
        - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin\r
        - $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin\r
-       - $(CP) ../lib-src/fns-*.el $(INSTALL_DIR)/bin\r
        - "$(INSTALL_DIR)/bin/addpm" /q\r
        - $(DEL) ../same-dir.tst\r
        - $(DEL) $(INSTALL_DIR)/same-dir.tst\r
@@ -214,6 +214,24 @@ install-other-dirs-gmake:
        $(MAKE) $(MFLAGS) -C ../lisp install\r
        $(MAKE) $(MFLAGS) -C ../leim install\r
 \r
+force-info:\r
+# Note that man/makefile knows how to\r
+# put the info files in $(infodir),\r
+# so we can do ok running make in the build dir.\r
+info: force-info info-$(MAKETYPE)\r
+\r
+info-nmake:\r
+       cd ..\man\r
+       $(MAKE) $(MFLAGS) info\r
+       cd ..\lispref\r
+       $(MAKE) $(MFLAGS) info\r
+       cd ..\lispintro\r
+       $(MAKE) $(MFLAGS) info\r
+\r
+info-gmake:\r
+       $(MAKE) $(MFLAGS) -C ../man info\r
+       $(MAKE) $(MFLAGS) -C ../lispref info\r
+       $(MAKE) $(MFLAGS) -C ../lispintro info\r
 #\r
 # Maintenance\r
 #\r
@@ -229,8 +247,14 @@ clean-other-dirs-nmake:
        $(MAKE) $(MFLAGS) clean\r
        cd ..\lisp\r
        $(MAKE) $(MFLAGS) clean\r
+       cd ..\lispintro\r
+       $(MAKE) $(MFLAGS) clean\r
+       cd ..\lispref\r
+       $(MAKE) $(MFLAGS) clean\r
        cd ..\leim\r
        $(MAKE) $(MFLAGS) clean\r
+       cd ..\man\r
+       $(MAKE) $(MFLAGS) clean\r
        cd ..\nt\r
 \r
 clean-other-dirs-gmake:\r