Hi Roberto,
Sorry to use this forum to pass HMG patches.
Anyhow patch below will make HMG installation freely
movable / installable to any directories without
the need to manually tweak files. IOW users may install
it anywhere, not just to root in C:\HMG.
Here're the updated batch files:
--- BATCH\build.bat (only three 'SET' lines were changed)
@echo off
rem
***************************************************************************
rem HMG 3.0 Build batch
rem Roberto Lopez (2009.10.14)
rem Syntax:
rem
rem Build [/c] [/d] [/i] <PrgFile> | <filelist.hbp> [config.hbc]
rem
rem [/c] : Console / Mixed Mode
rem [/d] : Debug Mode
rem [/i] : Incremental Build
rem
rem <filelist.hbm> : A text file with .hbp extension containing a
source list
rem <configfile.hbc>: A text file with configuration parameters as
additional
rem libs, include paths and lib paths.
rem
rem
***************************************************************************
cls
rem
***************************************************************************
rem Set variables
rem
***************************************************************************
Set HmgPath=%~dp0
Set Path=%HmgPath%\mingw\bin;%HmgPath%\harbour\bin;
Set Resources=%HmgPath%\resources\minigui.o
[snip]
---
--- All build.bat files in SAMPLES
..\..\build.bat %*
---
--- RESOURCES\MakeRes.Bat (this seems to point to wrong location
currently, but you get the idea)
set PATH=%~dp0\mingw\bin
windres -i minigui.rc -o minigui.o
---
--- SOURCE\MAKEHMG.BAT
@echo off
set PATH=%~dp0\mingw\bin
[snip]
---
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour