office-gobmx/Makefile.in
Hanno Meyer-Thurow eed8e0b62e make the installation dir better configurable
install to %libdir% intead of %prefix% as it is usual for other projects;
use the usual DESTDIR instead of OODESTDIR

Note that the default installation path is /usr/local/lib/libreoffice;
it can be redefined by --prefix, --libdir, --with-install-dirname
configure options

Some of these changes contributed by Petr Mladek <pmladek@suse.cz>
2011-04-20 15:30:08 +02:00

74 lines
1.8 KiB
Makefile

# @configure_input@
SHELL=/usr/bin/env bash
ifeq ($(USE_GMAKE),)
GBUILD_OPT:=
else
GBUILD_OPT:=--gmake
endif
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
all: Makefile dmake/dmake@EXEEXT@ src.downloaded
@. ./*[Ee]nv.[Ss]et.sh && \
cd instsetoo_native && \
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
install:
@. ./*[Ee]nv.[Ss]et.sh && \
echo "Installing in $${libdir:-@libdir@}/@INSTALL_DIRNAME@..." && \
ooinstall "$${libdir:-@libdir@}/@INSTALL_DIRNAME@" && \
echo "" && \
echo "Installation finished, you can now execute:" && \
echo "$${libdir:-@libdir@}/@INSTALL_DIRNAME@/program/soffice"
dev-install:
@. ./*[Ee]nv.[Ss]et.sh && \
ooinstall -l @abs_builddir@/install && \
echo "" && \
echo "Developer installation finished, you can now execute:" && \
echo "@abs_builddir@/install/program/soffice"
distclean: dmake/dmake@EXEEXT@
@. ./*[Ee]nv.[Ss]et.sh && \
dmake distclean
clean: dmake/dmake@EXEEXT@
@. ./*[Ee]nv.[Ss]et.sh && \
dmake clean && \
if [ -n "$$USE_GMAKE" ] ; then make -f GNUmakefile.mk -sr clean ; fi
dmake/dmake@EXEEXT@:
@. ./*[Ee]nv.[Ss]et.sh && \
./bootstrap
src.downloaded: ooo.lst download
@. ./*[Ee]nv.[Ss]et.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@ fetch
@. ./*[Ee]nv.[Ss]et.sh && \
cd smoketestoo_native && \
export SAL_USE_VCLPLUGIN="svp" && \
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
id:
@. ./*[Ee]nv.[Ss]et.sh && \
create-ids
tags:
@. ./*[Ee]nv.[Ss]et.sh && \
create-tags
docs:
@. ./*[Ee]nv.[Ss]et.sh && \
mkdocs.sh $$SRC_ROOT/docs $$SOLARENV/inc/doxygen.cfg