Kaydet (Commit) 4038f246 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

fix: BUILDDIR is not always SRCDIR

Change-Id: I6028fe295e467aa448d8503097be0c80a42908ed
üst db36904f
......@@ -81,7 +81,7 @@ $(call instsetoo_native_msitemplates,$(1))
cd $(dir $@) \
$(foreach pkgformat,$(5),\
&& $(PERL) -w $< \
-f $(SRCDIR)/instsetoo_native/util/openoffice.lst \
-f $(BUILDDIR)/instsetoo_native/util/openoffice.lst \
-l $(subst $(WHITESPACE),$(COMMA),$(strip $(2))) \
-p LibreOffice$(if $(filter TRUE,$(ENABLE_RELEASE_BUILD)),,_Dev)$(3) \
-u $(instsetoo_OUT) \
......
......@@ -27,12 +27,12 @@
$(eval $(call gb_CustomTarget_CustomTarget,solenv/versionlist))
include $(SRCDIR)/solenv/inc/minor.mk
include $(BUILDDIR)/solenv/inc/minor.mk
$(call gb_CustomTarget_get_target,solenv/versionlist) : $(call gb_CustomTarget_get_workdir,solenv/versionlist)/versionlist.hrc
$(call gb_CustomTarget_get_workdir,solenv/versionlist)/versionlist.hrc : \
$(SRCDIR)/solenv/inc/minor.mk \
$(BUILDDIR)/solenv/inc/minor.mk \
| $(call gb_CustomTarget_get_workdir,solenv/versionlist)/.dir
$(call gb_CustomTarget_get_workdir,solenv/versionlist)/versionlist.hrc :
......
......@@ -25,7 +25,7 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,solenv_minor_mk,$(SRCDIR)/solenv/inc))
$(eval $(call gb_Package_Package,solenv_minor_mk,$(BUILDDIR)/solenv/inc))
$(eval $(call gb_Package_add_file,solenv_minor_mk,inc/$(UPD)minor.mk,minor.mk))
$(eval $(call gb_Package_add_file,solenv_minor_mk,inc/minormkchanged.flg,minor.mk))
......
......@@ -672,7 +672,7 @@ sub replace_setup_variables
if ( $localbuild =~ /^\s*(\w+?)(\d+)\s*$/ ) { $localbuild = $2; } # using "680" instead of "src680"
my $buildidstring = `git log -n 1 --pretty=format:"%H"`;
my $buildidstring = `cd $ENV{'SRCDIR'} 2>&1 >/dev/null && git log -n 1 --pretty=format:"%H"`;
if ($? || !$buildidstring) {
$buildidstring = $localbuild . $localminor . "(Build:" . $installer::globals::buildid . ")";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment