From 18d4bc3c277f5d8695def093709cc2c175f83fe9 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 9 Jul 2010 08:29:53 +0000 Subject: [PATCH] 2010-07-09 10:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/make.hbs + Honor HB_BUILD_PARTS for contribs. --- harbour/ChangeLog | 6 +++++- harbour/contrib/make.hbs | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 06e51b3eac..d6cbd701ca 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,7 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ -2010-07-08 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) +2010-07-09 10:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/make.hbs + + Honor HB_BUILD_PARTS for contribs. + +2010-07-09 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * package/winuni/mpkg_win_uni_extra_copy.bat + Include /doc/* tree in binary distro. This makes code generation and embedding that large amount diff --git a/harbour/contrib/make.hbs b/harbour/contrib/make.hbs index db0827608b..3632c5496f 100755 --- a/harbour/contrib/make.hbs +++ b/harbour/contrib/make.hbs @@ -507,6 +507,11 @@ PROCEDURE GNUMake( ... ) LOOP ENDIF + IF GetEnv( "HB_BUILD_PARTS" ) == "lib" .AND. ; + !( cType $ "hbimplib|hblib" ) + LOOP + ENDIF + IF nAction == _ACT_CLEAN cOptionsPre += " -clean" ELSE @@ -530,6 +535,7 @@ PROCEDURE GNUMake( ... ) /* Highly experimental */ IF cType == "hblib" .AND. GetEnv( "HB_BUILD_CONTRIB_DLL" ) == "yes" .AND. ; + !( GetEnv( "HB_BUILD_PARTS" ) == "lib" ) .AND. ; hb_FileExists( FNameExtSet( cBase + cProject, ".hbc" ) ) cInstallDirVar := "_HB_DYN_INSTALL"