Files
harbour-core/harbour/bin/postinst.cmd
Viktor Szakats a8c53c2e3e 2009-07-16 01:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/wce/global.cf
    + Changed host CPU detection.
    + Added automatic __PLATFORM__* macro configuration in cross-build
      situations.
    + Enhanced target/host CPU detection and decisions based on them.
    + Added automatic HB_BIN_COMPILE setup if not specified by user.
      In such case Harbour build will automatically look for the first
      available native build and use that.
    + Protected detection related screen messages with HB_BUILD_VERBOSE=yes.
    * Minor sync in shell command definition order.

  * INSTALL
    % User set __PLATFORM__* macro tweaks not needed anymore.

  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-func.sh
    * addins -> addons
      (hm, which is better?)
2009-07-15 23:13:16 +00:00

41 lines
1.4 KiB
Batchfile

@rem
@rem $Id$
@rem
@echo off
rem ---------------------------------------------------------------
rem Copyright 2009 Viktor Szakats (harbour.01 syenar.hu)
rem Copyright 2003 Przemyslaw Czerpak (druzus / at / priv.onet.pl)
rem simple script run after Harbour make install to finish install
rem process
rem
rem See COPYING for licensing terms.
rem ---------------------------------------------------------------
echo Generating %HB_BIN_INSTALL%\hbmk.cfg...
echo # Harbour Make configuration> %HB_BIN_INSTALL%\hbmk.cfg
echo # Generated by Harbour build process>> %HB_BIN_INSTALL%\hbmk.cfg
echo.>> %HB_BIN_INSTALL%\hbmk.cfg
echo libpaths=../contrib/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
echo libpaths=../contrib/rddsql/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
echo libpaths=../addons/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
echo libpaths=../examples/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
rem ; Post-build installation
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y ChangeLog* "%HB_INSTALL_PREFIX%\" > nul
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y COPYING "%HB_INSTALL_PREFIX%\" > nul
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y ERRATA "%HB_INSTALL_PREFIX%\" > nul
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y INSTALL "%HB_INSTALL_PREFIX%\" > nul
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y TODO "%HB_INSTALL_PREFIX%\" > nul
goto INST_%HB_ARCHITECTURE%
:INST_OS2
rem OS/2 post install part
goto END
:INST_
:END