instsetoo_native/CustomTarget_setup.mk |    2 +-
 ios/CustomTarget_LibreOffice_app.mk    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5fd86fb2a3b91a4ab2c6610051db13a21119540a
Author: Matúš Kukan <matus.ku...@gmail.com>
Date:   Thu Sep 12 10:24:44 2013 +0200

    make this work also if BUILDDIR != SRCDIR
    
    Change-Id: I992020936cc39e5a6b04cd507b61853043a19b49

diff --git a/instsetoo_native/CustomTarget_setup.mk 
b/instsetoo_native/CustomTarget_setup.mk
index a4c8893..8556ff5 100644
--- a/instsetoo_native/CustomTarget_setup.mk
+++ b/instsetoo_native/CustomTarget_setup.mk
@@ -130,7 +130,7 @@ $(call 
gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_
                echo '[Version]' \
                && echo 'AllLanguages=$(if 
$(gb_WITH_LANG),$(gb_WITH_LANG),en-US)' \
                && echo 'BuildVersion=$(BUILD_VER_STRING)' \
-               && echo 'buildid=$(shell git log -1 --format=%H)' \
+               && echo 'buildid=$(shell cd $(SRCDIR) && git log -1 
--format=%H)' \
                && echo 
'ExtensionUpdateURL=http://updateexte.libreoffice.org/ExtensionUpdateService/check.Update'
 \
                && echo 
'ProductMajor=$(LIBO_VERSION_MAJOR)$(LIBO_VERSION_MINOR)$(LIBO_VERSION_MICRO)' \
                && echo 'ProductMinor=$(LIBO_VERSION_PATCH)' \
diff --git a/ios/CustomTarget_LibreOffice_app.mk 
b/ios/CustomTarget_LibreOffice_app.mk
index bd4dacb..fbc385d 100644
--- a/ios/CustomTarget_LibreOffice_app.mk
+++ b/ios/CustomTarget_LibreOffice_app.mk
@@ -44,7 +44,7 @@ ifeq ($(EXECUTABLE_NAME),LibreOffice)
 $(call gb_CustomTarget_get_target,ios/LibreOffice_app) : 
$(SCRIPT_OUTPUT_FILE_0)
 
 appdir=$(dir $(SCRIPT_OUTPUT_FILE_0))
-buildid=$(shell git log -1 --format=%H)
+buildid=$(shell cd $(SRCDIR) && git log -1 --format=%H)
 
 $(SCRIPT_OUTPUT_FILE_0) : $(call gb_Executable_get_target,LibreOffice)
        $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),APP,2)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to