diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-12-01 10:47:46 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-12-01 11:14:57 +0100 |
commit | 9c0035f02407b5e02f7e0a15988b4fd061961874 (patch) | |
tree | fd715cfe3677987419b0a6c95d7d9e7ac673b0d0 /Makefile.in | |
parent | 73a77a19de7732d05ddac6aaf79fb7878f3d3dc0 (diff) |
Makefile.in: Introduce the 'install' target.
You can use it like 'make install', or 'make install prefix=/path', to override
what has been set by ./configure.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 8b28749113eb..8eb3d31d29ad 100644 --- a/Makefile.in +++ b/Makefile.in @@ -3,19 +3,18 @@ SHELL=/bin/sh -all: +all: dmake/dmake@EXEEXT@ @. ./*[Ee]nv.[Ss]et.sh && \ - ./bootstrap && \ cd instsetoo_native && \ ../solenv/bin/build.pl -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@ -distclean: +install: @. ./*[Ee]nv.[Ss]et.sh && \ - dmake distclean - -clean: - @. ./*[Ee]nv.[Ss]et.sh && \ - dmake clean + 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 && \ @@ -23,3 +22,15 @@ dev-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 |