Mercurial > emacs
changeset 31626:eb8bb73d0c23
Change to DOS line endings.
Simplify the generation of makefiles (don't need to generate
various top-level targets that invoke make in other directories).
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Thu, 14 Sep 2000 21:40:59 +0000 |
parents | 345a3f5a7193 |
children | 096f05b96373 |
files | nt/configure.bat |
diffstat | 1 files changed, 1 insertions(+), 67 deletions(-) [+] |
line wrap: on
line diff
--- a/nt/configure.bat Thu Sep 14 21:37:44 2000 +0000 +++ b/nt/configure.bat Thu Sep 14 21:40:59 2000 +0000 @@ -249,73 +249,7 @@ if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h copy paths.h ..\src\epaths.h -rem gmake doesn't support "cd foo" in commands (except as part of a -rem compound statement which command.com doesn't support), but nmake -rem doesn't support the -C dir command line switch, so generate the -rem necessary makefile fragment for targets that involve changing dir. -rem -if %MAKECMD% == nmake goto gen1 - -echo. > make-frag -echo all-other-dirs: >> make-frag -echo. $(MAKE) -C ../lib-src all >> make-frag -echo. $(MAKE) -C ../src all >> make-frag -echo. $(MAKE) -C ../lisp all >> make-frag -echo. $(MAKE) -C ../leim all >> make-frag -echo. >> make-frag -echo clean-other-dirs: >> make-frag -echo. $(MAKE) -C ../lib-src clean >> make-frag -echo. $(MAKE) -C ../src clean >> make-frag -echo. $(MAKE) -C ../lisp clean >> make-frag -echo. $(MAKE) -C ../leim clean >> make-frag -echo. >> make-frag -echo install-other-dirs: >> make-frag -echo. $(MAKE) -C ../lib-src install >> make-frag -echo. $(MAKE) -C ../src install >> make-frag -echo. $(MAKE) -C ../lisp install >> make-frag -echo. $(MAKE) -C ../leim install >> make-frag -echo. >> make-frag -goto gen2 - -:gen1 -echo. > make-frag -echo all-other-dirs: >> make-frag -echo. cd ..\lib-src >> make-frag -echo. $(MAKE) all >> make-frag -echo. cd ..\src >> make-frag -echo. $(MAKE) all >> make-frag -echo. cd ..\lisp >> make-frag -echo. $(MAKE) all >> make-frag -echo. cd ..\leim >> make-frag -echo. $(MAKE) all >> make-frag -echo. cd ..\nt >> make-frag -echo. >> make-frag -echo clean-other-dirs: >> make-frag -echo. cd ..\lib-src >> make-frag -echo. $(MAKE) clean >> make-frag -echo. cd ..\src >> make-frag -echo. $(MAKE) clean >> make-frag -echo. cd ..\lisp >> make-frag -echo. $(MAKE) clean >> make-frag -echo. cd ..\leim >> make-frag -echo. $(MAKE) clean >> make-frag -echo. cd ..\nt >> make-frag -echo. >> make-frag -echo install-other-dirs: >> make-frag -echo. cd ..\lib-src >> make-frag -echo. $(MAKE) install >> make-frag -echo. cd ..\src >> make-frag -echo. $(MAKE) install >> make-frag -echo. cd ..\lisp >> make-frag -echo. $(MAKE) install >> make-frag -echo. cd ..\leim >> make-frag -echo. $(MAKE) install >> make-frag -echo. cd ..\nt >> make-frag -echo. >> make-frag - -:gen2 -copy /b config.settings+%MAKECMD%.defs+make-frag+..\nt\makefile.w32-in ..\nt\makefile -del make-frag +copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile Makefile.unix