User:Matm/Installer

= Installer =

process
configure will create setup_native/openoffice.lst after building all files, Makefile triggers instsetoo_native which does the native packaging ? install triggers ooinstall which copies all needed files in INSTALLDIR, ?from native packaging?

make install

From Development/buildsystemtargets
 * install -- install the installset in /usr/local (or $prefix, if specified at configure-time)
 * distro-pack-install -- same as install, except that it calls a few more bin/distro-* scripts after install
 * dev-install -- development install into solver
 * install-strip
 * install-tb

internals
Required :

setup_native (openoffice.lst) solenv/bin beholds the perl machinery

dev-install : build instsetoo_native with LIBO_DEV_INSTALL=TRUE and unzip archive

make cmd cmd='ooinstall /path/to/install'

ooinstall => system ("cd $ENV{SRC_ROOT}/instsetoo_native/util ; " .	"perl -w $ENV{SOLARENV}/bin/make_installer.pl " .	"-f openoffice.lst -l $langs -p LibreOffice " .	"-u $tmp_dir " .	"-buildid $BUILD $destdir $strip $msi " .	"-simple $path")

instsetoo_native
openoffice_%{$(PKGFORMAT:^".") .archive} : $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH) $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product LibreOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/`date +%Y%m%d_%H%M`_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml