2010-09-10 22:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* config/global.mk
    * Will now show fatal error if HB_INSTALL_PREFIX is not set
      at all on non-*nix systems. Not setting this will result
      in missing COPYING file (which is obligatory accessory when
      distributing Harbour) and other crucial files like INSTALL,
      NEWS and ChangeLog.

  * INSTALL
    * HB_INSTALL_??? envvars deprecated. It's recommended to use
      HB_INSTALL_PREFIX instead and let the build system decide
      about the internal directory layout. Setting these to
      arbitrary values may break Harbour tools like hbmk2.
This commit is contained in:
Viktor Szakats
2010-09-10 20:12:00 +00:00
parent 236d06e5f2
commit b8746abe7f
3 changed files with 20 additions and 0 deletions

View File

@@ -16,6 +16,20 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-09-10 22:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
* Will now show fatal error if HB_INSTALL_PREFIX is not set
at all on non-*nix systems. Not setting this will result
in missing COPYING file (which is obligatory accessory when
distributing Harbour) and other crucial files like INSTALL,
NEWS and ChangeLog.
* INSTALL
* HB_INSTALL_??? envvars deprecated. It's recommended to use
HB_INSTALL_PREFIX instead and let the build system decide
about the internal directory layout. Setting these to
arbitrary values may break Harbour tools like hbmk2.
2010-09-10 07:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/g/QPrinter.cpp
* Regenerated.

View File

@@ -648,6 +648,8 @@ HARBOUR
- HB_INSTALL_DOC Override directory to install documentation
- HB_INSTALL_MAN Override directory to install *nix man files
- HB_INSTALL_ETC Override directory to install *nix config files
NOTE: These setting are deprecated. Please use
HB_INSTALL_PREFIX to set install destination.
Special
-------

View File

@@ -1693,6 +1693,10 @@ ifneq ($(HB_INSTALL_PREFIX),)
endif
endif
endif
else
ifeq ($(HB_PLATFORM_UNIX),)
$(error ! Please set HB_INSTALL_PREFIX and try again.)
endif
endif
export HB_OBJ_DIR := $(subst /,$(DIRSEP),$(OBJ_DIR))