summaryrefslogtreecommitdiffstats
path: root/Makefile.in
blob: 14e762ec331b8710ec9bab01c3c247ec3bb50b19 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# @configure_input@

SHELL=/usr/bin/env bash

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

install:
	@echo "Installing in $${prefix:-/usr/local}..."
	. ./*[Ee]nv.[Ss]et.sh && \
	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

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 -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