summaryrefslogtreecommitdiffstats
path: root/make.bat
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-16 17:27:25 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-16 17:27:25 (GMT)
commit8feba3b60badccd732e753fadb089d13799db829 (patch)
tree156f3b8b79f2df8ecf0c8d3175e2788e40b4b824 /make.bat
parent61a83f312ce95090dc02ca3b8ce8dd3319d97df1 (diff)
downloadDoxygen-8feba3b60badccd732e753fadb089d13799db829.zip
Doxygen-8feba3b60badccd732e753fadb089d13799db829.tar.gz
Doxygen-8feba3b60badccd732e753fadb089d13799db829.tar.bz2
Release-1.1.5-20000716
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat55
1 files changed, 32 insertions, 23 deletions
diff --git a/make.bat b/make.bat
index c867915..67d3a26 100644
--- a/make.bat
+++ b/make.bat
@@ -1,23 +1,32 @@
-REM make script for Microsoft Visual C++
-
-if "%QTDIR%"=="" goto ERROR
-
-REM use perl to create the config file
-perl wintools\make.pl
-
-type makeconfig Makefile.win.in >Makefile
-type makeconfig src\Makefile.in >src\Makefile
-type makeconfig examples\Makefile.win.in >examples\Makefile
-type makeconfig doc\Makefile.win.in >doc\Makefile
-type src\doxygen.pro.in | sed "s/\$extraopts/release/g" >src\doxygen.pro
-type src\doxytag.pro.in | sed "s/\$extraopts/release/g" >src\doxytag.pro
-type src\doxysearch.pro.in | sed "s/\$extraopts/release/g" >src\doxysearch.pro
-
-nmake
-goto END
-
-:ERROR
-echo The QTDIR environment variable is not set! See the INSTALL file for more info.
-goto END
-
-:END
+REM make script for Microsoft Visual C++
+
+REM goto OK
+
+if not '%QTDIR%'=='' goto OK
+echo The QTDIR environment variable is not set! See the INSTALL file for more info.
+rem You can also remove the comment from the upper "REM goto OK" line
+rem and set the QTDIR correctly on the line below.
+goto END
+:OK
+
+REM Change the QTDIR setting as appropriate (at the following line)
+if '%QTDIR%'=='' set QTDIR=c:\usr\qt-1.44
+
+REM Generate the batch for compilation from the src subdirectory (make.bat)
+echo set QTDIR=%QTDIR%>src\make.bat
+echo nmake>>src\make.bat
+
+REM use perl to create the config file
+perl wintools\make.pl
+
+type makeconfig Makefile.win.in >Makefile
+type makeconfig src\Makefile.in >src\Makefile
+type makeconfig examples\Makefile.win.in >examples\Makefile
+type makeconfig doc\Makefile.win.in >doc\Makefile
+type src\doxygen.pro.in | sed "s/\$extraopts/release/g" >src\doxygen.pro
+type src\doxytag.pro.in | sed "s/\$extraopts/release/g" >src\doxytag.pro
+type src\doxysearch.pro.in | sed "s/\$extraopts/release/g" >src\doxysearch.pro
+
+nmake
+
+:END