diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-02-14 23:36:57 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-02-19 19:24:33 +0100 |
commit | eb7ee4d1d3ca9ead8ee66079fc205c560ac30d0f (patch) | |
tree | ed986cac55ead6f11f98bfbc1a67f960f04243a8 /Makefile | |
parent | a391a096bd3e0f96ba21cc42ee7dd46c7faeb2b2 (diff) |
Makefile: adapt to gbuild'ized smoketest, create target for installing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 12 insertions, 17 deletions
@@ -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 |