* bin/postinst.bat
+ Reworked to work better in cross-build/cross-shell scenarios.
* config/common/watcom.mk
! Use envvars to pass parameter either if shell is dos or target.
This fixes dos/watcom builds under non-dos shells.
* source/dynlib/mt/Makefile
* source/dynlib/Makefile
* config/none.mk
! Fixed the way these dynamic lib targets are skipped.
* package/mpkg_win.nsi
* Changed to also work on trees using short names.
(only 'ChangeLog' is a problem here).
Maybe it's time to rename to CHANGES. It causing too much
headache.
* bin/postinst.cmd
* Sync with .bat.
* config/global.mk
+ Exporting HB_SHELL for postinst scripts.
! Fixed HB_PKGNAME assembly for dos targets.
! Typo in comment.
* config/win/bcc.mk
! Deleted dbl quotes from tlib commands as it totally confused it
under msys shell.
36 lines
1.2 KiB
Batchfile
36 lines
1.2 KiB
Batchfile
@rem
|
|
@rem $Id$
|
|
@rem
|
|
|
|
@echo off
|
|
|
|
rem ---------------------------------------------------------------
|
|
rem Copyright 2009 Viktor Szakats (harbour.01 syenar.hu)
|
|
rem See COPYING for licensing terms.
|
|
rem
|
|
rem Script run after Harbour make install to finish install process
|
|
rem (for OS/2)
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%HB_BIN_INSTALL%" == "" echo ! HB_BIN_INSTALL needs to be set.
|
|
if "%HB_BIN_INSTALL%" == "" goto END
|
|
|
|
echo ! Making %HB_BIN_INSTALL%\hbmk.cfg...
|
|
echo # hbmk2 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
|
|
|
|
if "%HB_INSTALL_PREFIX%" == "" goto END
|
|
|
|
xcopy /y ChangeLog* %HB_INSTALL_PREFIX%\ > nul
|
|
xcopy /y COPYING %HB_INSTALL_PREFIX%\ > nul
|
|
xcopy /y ERRATA %HB_INSTALL_PREFIX%\ > nul
|
|
xcopy /y INSTALL %HB_INSTALL_PREFIX%\ > nul
|
|
xcopy /y TODO %HB_INSTALL_PREFIX%\ > nul
|
|
|
|
:END
|