"Fossies" - the Fresh Open Source Software Archive

Member "yudit-3.0.7/bin/wininst.bat" (7 Jun 2020, 3415 Bytes) of package /linux/misc/yudit-3.0.7.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "wininst.bat": 3.0.5_vs_3.0.7.

    1 echo off
    2 
    3 REM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    4 set TOPLEVEL="C:\Build\Yudit\yudit-3.0.7"
    5 REM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    6 
    7 REM 
    8 REM You can create a package on windows:
    9 REM o Install  Microsoft Windows SDK for Windows 7 and .NET  (ISO)
   10 REM http://www.microsoft.com/downloads/details.aspx?FamilyID=71deb800-c591-4f97-a900-bea146e4fae1&displaylang=en
   11 REM o install UnxTools
   12 REM o http://sourceforge.net/projects/unxutils/
   13 REM o set the path to <INSTALL-ROOT->/usr/local/wbin/ so that
   14 REM   cp make rm 
   15 REM o mkdir C:\Build\Yudit
   16 REM o cd C:\Build\Yudit
   17 REM o gunzip yudit-3.0.7.tar.gz
   18 REM o tar xf yudit-3.0.7.tar
   19 REM o cd yudit-3.0.7
   20 REM o cp Makefile.in Makefile
   21 REM o make
   22 REM o bin\wininst
   23 REM o build package with iss using yudit32.iss
   24 REM
   25 
   26 cd "%TOPLEVEL%\bin"
   27 REM set INSTALLDIR="D:\usr\share\yudit"
   28 set INSTALLDIR="C:\Build\Yudit\Install"
   29 rm -rf %INSTALLDIR%
   30 mkdir "%INSTALLDIR%"
   31 mkdir "%INSTALLDIR%\bin"
   32 mkdir "%INSTALLDIR%\data"
   33 mkdir "%INSTALLDIR%\man"
   34 mkdir "%INSTALLDIR%\man\man1"
   35 mkdir "%INSTALLDIR%\fonts"
   36 mkdir "%INSTALLDIR%\syntax"
   37 mkdir "%INSTALLDIR%\config"
   38 mkdir "%INSTALLDIR%\src"
   39 
   40 copy /b "%TOPLEVEL%\mytool\mytool.exe"  "%INSTALLDIR%\bin"
   41 copy /b "%TOPLEVEL%\mytool\mytool.1"  "%INSTALLDIR%\man\man1"
   42 copy /b "%TOPLEVEL%\uniprint\uniprint.exe"  "%INSTALLDIR%\bin"
   43 copy /b "%TOPLEVEL%\uniprint\uniprint.1"  "%INSTALLDIR%\man\man1"
   44 copy /b "%TOPLEVEL%\uniconv\uniconv.exe"  "%INSTALLDIR%\bin"
   45 copy /b "%TOPLEVEL%\uniconv\uniconv.1"  "%INSTALLDIR%\man\man1"
   46 copy /b "%TOPLEVEL%\gui\yudit.exe"  "%INSTALLDIR%\bin"
   47 copy /b "%TOPLEVEL%\fonts\README.TXT"  "%INSTALLDIR%\fonts"
   48 copy /b "%TOPLEVEL%\fonts\yudit.hex"  "%INSTALLDIR%\fonts"
   49 REM copy /b "%TOPLEVEL%\fonts\unifont.hex"  "%INSTALLDIR%\fonts"
   50 REM copy /b "%TOPLEVEL%\fonts\markus9x18.bdf"  "%INSTALLDIR%\fonts"
   51 REM copy /b "%TOPLEVEL%\fonts\markus18x18ja.bdf"  "%INSTALLDIR%\fonts"
   52 
   53 cd "%TOPLEVEL%\gui"
   54 REM cp -Pr locale  "%INSTALLDIR%"
   55 mkdir "%INSTALLDIR%/locale" 
   56 xcopy /b /s /e /y locale  "%INSTALLDIR%\locale"
   57 cd "%TOPLEVEL%"
   58 
   59 REM cp -Pr doc  "%INSTALLDIR%"
   60 mkdir "%INSTALLDIR%/doc" 
   61 xcopy /b /s /e /y doc  "%INSTALLDIR%\doc"
   62 copy /b "README.TXT"  "%INSTALLDIR%\doc"
   63 copy /b "COPYING.TXT"  "%INSTALLDIR%\doc"
   64 copy /b "yuditw.properties"  "%INSTALLDIR%\config\yudit.properties"
   65 
   66 cd "%TOPLEVEL%\syntax"
   67 copy /b  *.*  "%INSTALLDIR%\syntax"
   68 
   69 cd "%TOPLEVEL%\mytool\kmap"
   70 copy /b  *.my  "%INSTALLDIR%\data"
   71 copy /b  *.kmap  "%INSTALLDIR%\src"
   72 
   73 cd "%TOPLEVEL%\mytool\mys"
   74 copy /b  *.my  "%INSTALLDIR%\data"
   75 copy /b  *.mys  "%INSTALLDIR%\src"
   76 
   77 cd "%TOPLEVEL%\mytool\uni"
   78 copy /b  *.my  "%INSTALLDIR%\data"
   79 
   80 cd "%TOPLEVEL%\mytool\hwd"
   81 copy /b  *.hwd  "%INSTALLDIR%\data"
   82 
   83 cd "%TOPLEVEL%\addon"
   84 
   85 make -k wininst_fonts INSTALLDIR=%INSTALLDIR%
   86 make -k wininst_syntax INSTALLDIR=%INSTALLDIR%
   87 
   88 cd "%TOPLEVEL%\bin"
   89 
   90 REM These should take precedence over winist_fonts.
   91 copy /b "%TOPLEVEL%\fonts\yudit.ttf"  "%INSTALLDIR%\fonts"
   92 copy /b "%TOPLEVEL%\fonts\OldHungarian_Full.ttf"  "%INSTALLDIR%\fonts"
   93 
   94 cd "%TOPLEVEL%\bin"
   95 
   96 
   97 REM cd %TOPLEVEL%
   98 REM dir
   99 
  100 REM
  101 REM This is a replacement for YUDIT_DATA. On unix this is
  102 REM /usr/share/yudit
  103 REM -installdir is only for windows. for unix, yudit should be
  104 REM recompiled.
  105 REM copy /b  \Yudit\Medium\raghu.ttf  "%INSTALLDIR%\fonts"
  106 
  107 REM %TOPLEVEL%\mytool\mytool.exe -installdir "%INSTALLDIR%"