summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-02-14 23:36:57 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-02-19 19:24:33 +0100
commiteb7ee4d1d3ca9ead8ee66079fc205c560ac30d0f (patch)
treeed986cac55ead6f11f98bfbc1a67f960f04243a8 /Makefile
parentgbuild'ize smoketest(oo_native) and merge them (diff)
downloadcore-eb7ee4d1d3ca9ead8ee66079fc205c560ac30d0f.tar.gz
core-eb7ee4d1d3ca9ead8ee66079fc205c560ac30d0f.zip
Makefile: adapt to gbuild'ized smoketest, create target for installing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 12 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index bd1684017a0e..8ebbe46154ca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-.PHONY : all bootstrap build check clean clean-build clean-host dev-install dev-install-link distclean distro-pack-install docs fetch findunusedcode id install subsequenttest tags
+.PHONY : all bootstrap build check clean clean-build clean-host dev-install distclean distro-pack-install docs fetch findunusedcode id install subsequentcheck tags
ifeq ($(MAKECMDGOALS),)
MAKECMDGOALS:=all
@@ -396,14 +396,17 @@ install:
echo "Installation finished, you can now execute:" && \
echo "$(INSTALLDIR)/program/soffice"
-dev-install-link:
+dev-install: build
+ @rm -rf $(OUTDIR)/installation
+ @mkdir $(OUTDIR)/installation
+ifeq ($(DISABLE_LINKOO),TRUE)
+ @ooinstall $(OUTDIR)/installation/opt
+ @install-gdb-printers -L
+else
+ @ooinstall -l $(OUTDIR)/installation/opt
+endif
@rm -f $(SRCDIR)/install && ln -s $(OUTDIR)/installation/opt/ $(SRCDIR)/install
-dev-install: dev-install-link
- cd smoketestoo_native && \
- unset MAKEFLAGS && \
- $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
-
distro-pack-install: install
$(SRCDIR)/bin/distro-install-clean-up
$(SRCDIR)/bin/distro-install-desktop-integration
@@ -436,22 +439,14 @@ findunusedcode:
| grep -v ^salhelper:: \
> unusedcode.easy
-check: subsequentcheck_after_build
+check: subsequentcheck
-subsequentcheck_after_build: build dev-install-link
- @cd smoketestoo_native && unset MAKEFLAGS && \
- $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
- $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile subsequentcheck
-
-subsequentcheck: smoketestoo_native
+subsequentcheck: dev-install
$(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile subsequentcheck
debugrun:
$(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile debugrun
-slowcheck:
- $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f post.Makefile slowcheck
-
endif # not clean or distclean