summaryrefslogtreecommitdiff
path: root/Makefile.top
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-15 22:58:52 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-15 23:07:15 +0200
commit0ec45dc41dd4872482b817387f253d6fab6bf20c (patch)
tree7f0656274e6c3d8fa604b2ef2f650061970a0d17 /Makefile.top
parent01550a7450f099c4016af53fef53c286040b1575 (diff)
let make dev-install do something useful on MSVC
Forcing creation of second installation set is perhaps not ideal, but i have no idea how that installer perl crud work and at least it gives something to run tests against. Change-Id: I506160013de23f76128c9e39b4f3bacc6e32cc7a
Diffstat (limited to 'Makefile.top')
-rw-r--r--Makefile.top8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.top b/Makefile.top
index 15d27ba6d5cc..a1090e27e28d 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -394,7 +394,8 @@ endif
build: build-packimages
ifeq ($(OS_FOR_BUILD),WNT)
- cd instsetoo_native && unset MAKEFLAGS && $(SOLARENV)/bin/build.pl
+ cd instsetoo_native && unset MAKEFLAGS && \
+ $(SOLARENV)/bin/build.pl FORCE2ARCHIVE=TRUE
else
cd instsetoo_native && unset MAKEFLAGS && \
$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
@@ -425,12 +426,17 @@ install-strip:
dev-install: build
@rm -rf $(DEVINSTALLDIR)
@mkdir $(DEVINSTALLDIR)
+ifeq ($(OS_FOR_BUILD),WNT)
+ unzip -d "$(DEVINSTALLDIR)" "$(SRCDIR)/instsetoo_native/$(INPATH)/LibreOffice_Dev/archive/install/en-US/LibO*_install-arc_en-US.zip"
+ mv "$(DEVINSTALLDIR)"/LibO*_install-arc_en-US/* "$(DEVINSTALLDIR)"/opt
+else
ifeq ($(DISABLE_LINKOO),TRUE)
@ooinstall $(DEVINSTALLDIR)/opt
@install-gdb-printers -L
else
@ooinstall -l $(DEVINSTALLDIR)/opt
endif
+endif
@rm -f $(SRCDIR)/install && ln -s $(DEVINSTALLDIR)/opt/ $(SRCDIR)/install
distro-pack-install: install