Kaydet (Commit) 9c0035f0 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

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.
üst 73a77a19
......@@ -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
......@@ -2160,7 +2160,8 @@ print "*********************************************************".
"******************* $newline";
print "To build, issue:\nmake\n\n";
print "For the developer installation, issue:\nmake dev-install\n\n";
print "To install when the build is finished, issue:\nmake install\n\n";
print "If you want to develop LibreOffice, you might prefer:\nmake dev-install\n\n";
$bootfile = "bootstrap";
open( OUT, ">$bootfile" ) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment