summaryrefslogtreecommitdiff
path: root/Makefile.in
blob: 8eb3d31d29ad1c26c3039959c52fa228ee70833a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# @configure_input@
# FIXME: create 'install' and 'check' target

SHELL=/bin/sh

all: dmake/dmake@EXEEXT@
	@. ./*[Ee]nv.[Ss]et.sh && \
        cd instsetoo_native && \
        ../solenv/bin/build.pl -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@

install:
	@. ./*[Ee]nv.[Ss]et.sh && \
	echo "Installing in $${prefix:-@prefix@}..."
	ooinstall "$${prefix:-@prefix@}" && \
	echo "" && \
	echo "Installation finished, you can now execute:" && \
	echo "$${prefix:-@prefix@}/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

dmake/dmake@EXEEXT@:
	@. ./*[Ee]nv.[Ss]et.sh && \
        ./bootstrap