summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-06-18 10:18:19 +0000
committerwlemb <wlemb>2000-06-18 10:18:19 +0000
commita3177e4adec5e605ddcd2c54d69a7eeec77c4518 (patch)
treed57789ab81c648d893d0bf971ac3229eff6a5187 /arch
parent3bbdab7f4e3403c13608ebb9f6baecb722e087f7 (diff)
downloadgroff-a3177e4adec5e605ddcd2c54d69a7eeec77c4518.tar.gz
converted to CR/LF as needed by MSDOS
Diffstat (limited to 'arch')
-rw-r--r--arch/djgpp/config.bat190
-rw-r--r--arch/djgpp/t-groff.bat128
2 files changed, 159 insertions, 159 deletions
diff --git a/arch/djgpp/config.bat b/arch/djgpp/config.bat
index 6693725c..699a8682 100644
--- a/arch/djgpp/config.bat
+++ b/arch/djgpp/config.bat
@@ -1,95 +1,95 @@
-@echo off
-echo Configuring GNU Groff for DJGPP v2.x...
-
-Rem The SmallEnv tests protect against fixed and too small size
-Rem of the environment in stock DOS shell.
-
-Rem Find out where the sources are
-set XSRC=.
-if not "%XSRC%" == "." goto SmallEnv
-if "%1" == "" goto InPlace
-set XSRC=%1
-if not "%XSRC%" == "%1" goto SmallEnv
-redir -e /dev/null update %XSRC%/configure.orig ./configure
-if not exist configure update %XSRC%/configure ./configure
-
-:InPlace
-Rem Update configuration files
-echo Updating configuration scripts...
-if not exist configure.orig update configure configure.orig
-sed -f %XSRC%/arch/djgpp/config.sed configure.orig > configure
-if errorlevel 1 goto SedError
-
-Rem Make sure they have a config.site file
-set CONFIG_SITE=%XSRC%/arch/djgpp/config.site
-if not "%CONFIG_SITE%" == "%XSRC%/arch/djgpp/config.site" goto SmallEnv
-
-Rem This is required because DOS/Windows are case-insensitive
-Rem to file names, and "make install" will do nothing if Make
-Rem finds a file called `install'.
-if exist INSTALL ren INSTALL INSTALL.txt
-
-Rem Set HOSTNAME so it shows in config.status
-if not "%HOSTNAME%" == "" goto hostdone
-if "%windir%" == "" goto msdos
-set OS=MS-Windows
-if not "%OS%" == "MS-Windows" goto SmallEnv
-goto haveos
-:msdos
-set OS=MS-DOS
-if not "%OS%" == "MS-DOS" goto SmallEnv
-:haveos
-if not "%USERNAME%" == "" goto haveuname
-if not "%USER%" == "" goto haveuser
-echo No USERNAME and no USER found in the environment, using default values
-set HOSTNAME=Unknown PC
-if not "%HOSTNAME%" == "Unknown PC" goto SmallEnv
-:haveuser
-set HOSTNAME=%USER%'s PC
-if not "%HOSTNAME%" == "%USER%'s PC" goto SmallEnv
-goto userdone
-:haveuname
-set HOSTNAME=%USERNAME%'s PC
-if not "%HOSTNAME%" == "%USERNAME%'s PC" goto SmallEnv
-:userdone
-set _HOSTNAME=%HOSTNAME%, %OS%
-if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv
-set HOSTNAME=%_HOSTNAME%
-:hostdone
-set _HOSTNAME=
-set OS=
-
-Rem install-sh is required by the configure script but clashes with the
-Rem various Makefile install-foo targets, so we MUST have it before the
-Rem script runs and rename it afterwards
-test -f install-sh
-if not errorlevel 1 goto noren1
-test -f install-sh.sh
-if not errorlevel 1 mv -f install-sh.sh install-sh
-:noren1
-echo Running the ./configure script...
-sh ./configure --src=%XSRC% --disable-nls --without-x
-if errorlevel 1 goto CfgError
-test -f install-sh.sh
-if not errorlevel 1 goto noren2
-test -f install-sh
-if not errorlevel 1 mv -f install-sh install-sh.sh
-:noren2
-echo Done.
-goto End
-
-:SedError
-echo ./configure script editing failed!
-goto End
-
-:CfgError
-echo ./configure script exited abnormally!
-goto End
-
-:SmallEnv
-echo Your environment size is too small. Enlarge it and run me again.
-echo Configuration NOT done!
-:End
-set XSRC=
-set CONFIG_SITE=
-set HOSTNAME=
+@echo off
+echo Configuring GNU Groff for DJGPP v2.x...
+
+Rem The SmallEnv tests protect against fixed and too small size
+Rem of the environment in stock DOS shell.
+
+Rem Find out where the sources are
+set XSRC=.
+if not "%XSRC%" == "." goto SmallEnv
+if "%1" == "" goto InPlace
+set XSRC=%1
+if not "%XSRC%" == "%1" goto SmallEnv
+redir -e /dev/null update %XSRC%/configure.orig ./configure
+if not exist configure update %XSRC%/configure ./configure
+
+:InPlace
+Rem Update configuration files
+echo Updating configuration scripts...
+if not exist configure.orig update configure configure.orig
+sed -f %XSRC%/arch/djgpp/config.sed configure.orig > configure
+if errorlevel 1 goto SedError
+
+Rem Make sure they have a config.site file
+set CONFIG_SITE=%XSRC%/arch/djgpp/config.site
+if not "%CONFIG_SITE%" == "%XSRC%/arch/djgpp/config.site" goto SmallEnv
+
+Rem This is required because DOS/Windows are case-insensitive
+Rem to file names, and "make install" will do nothing if Make
+Rem finds a file called `install'.
+if exist INSTALL ren INSTALL INSTALL.txt
+
+Rem Set HOSTNAME so it shows in config.status
+if not "%HOSTNAME%" == "" goto hostdone
+if "%windir%" == "" goto msdos
+set OS=MS-Windows
+if not "%OS%" == "MS-Windows" goto SmallEnv
+goto haveos
+:msdos
+set OS=MS-DOS
+if not "%OS%" == "MS-DOS" goto SmallEnv
+:haveos
+if not "%USERNAME%" == "" goto haveuname
+if not "%USER%" == "" goto haveuser
+echo No USERNAME and no USER found in the environment, using default values
+set HOSTNAME=Unknown PC
+if not "%HOSTNAME%" == "Unknown PC" goto SmallEnv
+:haveuser
+set HOSTNAME=%USER%'s PC
+if not "%HOSTNAME%" == "%USER%'s PC" goto SmallEnv
+goto userdone
+:haveuname
+set HOSTNAME=%USERNAME%'s PC
+if not "%HOSTNAME%" == "%USERNAME%'s PC" goto SmallEnv
+:userdone
+set _HOSTNAME=%HOSTNAME%, %OS%
+if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv
+set HOSTNAME=%_HOSTNAME%
+:hostdone
+set _HOSTNAME=
+set OS=
+
+Rem install-sh is required by the configure script but clashes with the
+Rem various Makefile install-foo targets, so we MUST have it before the
+Rem script runs and rename it afterwards
+test -f install-sh
+if not errorlevel 1 goto noren1
+test -f install-sh.sh
+if not errorlevel 1 mv -f install-sh.sh install-sh
+:noren1
+echo Running the ./configure script...
+sh ./configure --src=%XSRC% --disable-nls --without-x
+if errorlevel 1 goto CfgError
+test -f install-sh.sh
+if not errorlevel 1 goto noren2
+test -f install-sh
+if not errorlevel 1 mv -f install-sh install-sh.sh
+:noren2
+echo Done.
+goto End
+
+:SedError
+echo ./configure script editing failed!
+goto End
+
+:CfgError
+echo ./configure script exited abnormally!
+goto End
+
+:SmallEnv
+echo Your environment size is too small. Enlarge it and run me again.
+echo Configuration NOT done!
+:End
+set XSRC=
+set CONFIG_SITE=
+set HOSTNAME=
diff --git a/arch/djgpp/t-groff.bat b/arch/djgpp/t-groff.bat
index 6727fb8b..91b36d7e 100644
--- a/arch/djgpp/t-groff.bat
+++ b/arch/djgpp/t-groff.bat
@@ -1,64 +1,64 @@
-@echo off
-Rem This script runs groff without requiring that it be installed.
-Rem The current directory must be the build directory.
-
-test -d ./src/roff/groff
-if not errorlevel 1 goto dirOk
-echo this batch file must be run with the build directory as the current directory
-goto end
-:dirOk
-test -x ./src/roff/groff/groff
-if not errorlevel 1 goto groffOk
-echo this batch file must be run with the build directory as the current directory
-goto end
-:groffOk
-Rem chdir to src, to avoid overflowing the DOS limits with a long PATH.
-cd src
-set GROFF_FONT_PATH=..;../font
-set GROFF_TMAC_PATH=../tmac;./roff/troff
-set PATH1=%PATH%
-set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grotty;%PATH1%
-Rem
-echo I will use this command to format a document and print it on the screen:
-roff\groff\groff -V -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me
-pause
-Rem Make the following command pipe to Less if you have Less installed:
-roff\groff\groff -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me
-Rem
-set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grops;%PATH1%
-echo I will use this command to format a document and print it on PS printer:
-roff\groff\groff -V -e -s -t -p -R -me -Tps ../doc/meintro.me
-pause
-Rem Uncomment the following command if you have a PostScript printer:
-REM roff\groff\groff -e -s -t -p -R -me -Tps ../doc/meintro.me >>prn
-Rem
-set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolj4;%PATH1%
-echo I will use this command to format a document and print it on LJ4 printer:
-roff\groff\groff -V -e -s -t -p -R -me -Tlj4 ../doc/meintro.me
-pause
-Rem Uncomment the following command if you have a LaserJet4 printer:
-REM roff\groff\groff -e -s -t -p -R -me -Tlj4 ../doc/meintro.me >>prn
-Rem
-set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grodvi;%PATH1%
-echo I will use this command to format a document into a DVI format:
-roff\groff\groff -V -e -s -t -p -R -me -Tdvi ../doc/meintro.me
-pause
-roff\groff\groff -e -s -t -p -R -me -Tdvi ../doc/meintro.me > meintro.dvi
-set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grohtml;%PATH1%
-echo I will use this command to format a document into HTML format:
-roff\groff\groff -V -e -s -t -p -R -me -Thtml ../doc/meintro.me
-pause
-roff\groff\groff -e -s -t -p -R -me -Thtml ../doc/meintro.me > meintro.html
-set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolbp;%PATH1%
-echo I will use this command to format a document and print it on an LBP printer:
-roff\groff\groff -V -e -s -t -p -R -me -Tlbp ../doc/meintro.me
-pause
-Rem Uncomment the following if you have a Canon CAPSL LBP-4 or LBP-8 printer:
-REM roff\groff\groff -e -s -t -p -R -me -Tlbp ../doc/meintro.me >>prn
-Rem
-set PATH=%PATH1%
-set GROFF_FONT_PATH=
-set GROFF_TMAC_PATH=
-set PATH1=
-cd ..
-:exit
+@echo off
+Rem This script runs groff without requiring that it be installed.
+Rem The current directory must be the build directory.
+
+test -d ./src/roff/groff
+if not errorlevel 1 goto dirOk
+echo this batch file must be run with the build directory as the current directory
+goto end
+:dirOk
+test -x ./src/roff/groff/groff
+if not errorlevel 1 goto groffOk
+echo this batch file must be run with the build directory as the current directory
+goto end
+:groffOk
+Rem chdir to src, to avoid overflowing the DOS limits with a long PATH.
+cd src
+set GROFF_FONT_PATH=..;../font
+set GROFF_TMAC_PATH=../tmac;./roff/troff
+set PATH1=%PATH%
+set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grotty;%PATH1%
+Rem
+echo I will use this command to format a document and print it on the screen:
+roff\groff\groff -V -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me
+pause
+Rem Make the following command pipe to Less if you have Less installed:
+roff\groff\groff -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me
+Rem
+set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grops;%PATH1%
+echo I will use this command to format a document and print it on PS printer:
+roff\groff\groff -V -e -s -t -p -R -me -Tps ../doc/meintro.me
+pause
+Rem Uncomment the following command if you have a PostScript printer:
+REM roff\groff\groff -e -s -t -p -R -me -Tps ../doc/meintro.me >>prn
+Rem
+set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolj4;%PATH1%
+echo I will use this command to format a document and print it on LJ4 printer:
+roff\groff\groff -V -e -s -t -p -R -me -Tlj4 ../doc/meintro.me
+pause
+Rem Uncomment the following command if you have a LaserJet4 printer:
+REM roff\groff\groff -e -s -t -p -R -me -Tlj4 ../doc/meintro.me >>prn
+Rem
+set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grodvi;%PATH1%
+echo I will use this command to format a document into a DVI format:
+roff\groff\groff -V -e -s -t -p -R -me -Tdvi ../doc/meintro.me
+pause
+roff\groff\groff -e -s -t -p -R -me -Tdvi ../doc/meintro.me > meintro.dvi
+set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grohtml;%PATH1%
+echo I will use this command to format a document into HTML format:
+roff\groff\groff -V -e -s -t -p -R -me -Thtml ../doc/meintro.me
+pause
+roff\groff\groff -e -s -t -p -R -me -Thtml ../doc/meintro.me > meintro.html
+set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolbp;%PATH1%
+echo I will use this command to format a document and print it on an LBP printer:
+roff\groff\groff -V -e -s -t -p -R -me -Tlbp ../doc/meintro.me
+pause
+Rem Uncomment the following if you have a Canon CAPSL LBP-4 or LBP-8 printer:
+REM roff\groff\groff -e -s -t -p -R -me -Tlbp ../doc/meintro.me >>prn
+Rem
+set PATH=%PATH1%
+set GROFF_FONT_PATH=
+set GROFF_TMAC_PATH=
+set PATH1=
+cd ..
+:exit