78 lines
1.9 KiB
Makefile
78 lines
1.9 KiB
Makefile
# @configure_input@
|
|
|
|
SHELL=/usr/bin/env bash
|
|
|
|
ifeq ($(USE_GMAKE),)
|
|
GBUILD_OPT:=
|
|
else
|
|
GBUILD_OPT:=--gmake
|
|
endif
|
|
|
|
all: Makefile dmake/dmake@EXEEXT_FOR_BUILD@ src.downloaded
|
|
|
|
@. ./*Env.Set.sh && \
|
|
cd instsetoo_native && \
|
|
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
|
|
|
|
install:
|
|
@. ./*Env.Set.sh && \
|
|
echo "Installing in $${prefix:-@prefix@}..." && \
|
|
ooinstall "$${prefix:-@prefix@}" && \
|
|
echo "" && \
|
|
echo "Installation finished, you can now execute:" && \
|
|
echo "$${prefix:-@prefix@}/program/soffice"
|
|
|
|
dev-install:
|
|
@. ./*Env.Set.sh && \
|
|
cd smoketestoo_native && \
|
|
export SAL_USE_VCLPLUGIN="svp" && \
|
|
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@ && \
|
|
cd @abs_builddir@ && ln -s $$SOLARVER/$$INPATH/installation/opt/ install && \
|
|
echo "" && \
|
|
echo "Developer installation finished, you can now execute:" && \
|
|
echo "cd @abs_builddir@/install/program" && \
|
|
echo ". ooenv" && \
|
|
echo "./soffice.bin"
|
|
|
|
distclean: dmake/dmake@EXEEXT_FOR_BUILD@
|
|
@. ./*Env.Set.sh && \
|
|
dmake distclean
|
|
|
|
clean: dmake/dmake@EXEEXT_FOR_BUILD@
|
|
@. ./*Env.Set.sh && \
|
|
dmake clean && \
|
|
if [ -n "$$USE_GMAKE" ] ; then make -f GNUmakefile.mk -sr clean ; fi
|
|
|
|
dmake/dmake@EXEEXT_FOR_BUILD@:
|
|
@. ./*Env.Set.sh && \
|
|
./bootstrap
|
|
|
|
src.downloaded: ooo.lst download
|
|
@. ./*Env.Set.sh && \
|
|
$$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@
|
|
|
|
fetch: src.downloaded
|
|
|
|
Makefile: configure.in set_soenv.in Makefile.in
|
|
./autogen.sh
|
|
|
|
check: Makefile dmake/dmake@EXEEXT_FOR_BUILD@ fetch
|
|
@. ./*Env.Set.sh && \
|
|
cd smoketestoo_native && \
|
|
export SAL_USE_VCLPLUGIN="svp" && \
|
|
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
|
|
|
|
test: Makefile dmake/dmake fetch
|
|
@. ./*Env.Set.sh && $$SOLARENV/bin/subsequenttests
|
|
|
|
id:
|
|
@. ./*Env.Set.sh && \
|
|
create-ids
|
|
|
|
tags:
|
|
@. ./*Env.Set.sh && \
|
|
create-tags
|
|
|
|
docs:
|
|
@. ./*Env.Set.sh && \
|
|
mkdocs.sh $$SRC_ROOT/docs $$SOLARENV/inc/doxygen.cfg
|