summaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2016-08-30Makefile: improve JAVA_HOME checkMichael Stahl1-1/+1
On Fedora it often happens that the $JAVA_HOME directory is not actually deleted but contains a bunch of ".rpmnew" and ".rpmsave" files in jre/lib/security - so check that the "include" directory exists. Change-Id: I34bf945b346e79dbe6f1a6e96ba1ba5139ff8f13 Reviewed-on: https://gerrit.libreoffice.org/28491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 1ae5c5ea82207d90b556e8139ad48ca4ceff9311) Reviewed-on: https://gerrit.libreoffice.org/28496 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-08-03Use "dot" for "source"ing shell filesJan-Marek Glogowski1-1/+1
Quote from stackoverflow: "source" is non-standard and specifically not supported in ash, dash or pdksh... it's a Bashism. Change-Id: I4b47385c1e44c5e56bd84f23ff3645712015dcf4 Reviewed-on: https://gerrit.libreoffice.org/27746 Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit 3e241399476ca3c2e3775f485356197bb93863a9) Reviewed-on: https://gerrit.libreoffice.org/27751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-07-21Makefile: re-run autogen.sh if JAVA_HOME went awayMichael Stahl1-1/+3
On Fedora, the weekly OpenJDK security updates put the headers into a different directory each time because the full version of the package is encoded in the name of the directory. Then a incremental build breaks somewhere in jvmfwk because the headers cannot be found in the old directory. So add a hack to detect a non-existent JAVA_HOME and re-run autogen.sh in the hope that the following incremental build with work. Change-Id: Iada3cfa3e9a0120d38c6b01484f505ff20770b72 Reviewed-on: https://gerrit.libreoffice.org/27339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 086c13584dc672c4a07c6384ab7f08fa67ce0f95) Reviewed-on: https://gerrit.libreoffice.org/27367 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-24make the symbol generation also work correctly on windowsMarkus Mohrhard1-0/+5
Change-Id: I2fc5e8fb2535ac076f045435c828126a52ea5bbd
2016-05-24add build system part for upload crashreport symbolsMarkus Mohrhard1-0/+3
Change-Id: Ib8dc0267034716740ba6d7f60cf635adc4bd1561
2016-05-24also create the symbols.zip fileMarkus Mohrhard1-0/+1
Change-Id: I4c96dbecd90de83fe9ac76a93ec0520ffb6932d6
2016-05-24remove old symbols directoryMarkus Mohrhard1-0/+1
Change-Id: Id6bd2dfd05f1c13d928dbf26414b01086740df74
2016-05-23add a build system target to generate the symbol filesMarkus Mohrhard1-0/+3
Change-Id: Ib690eb05deaec5d8ce91f6b76daadf427d7ad964
2016-04-14149Tor Lillqvist1-2/+10
Change-Id: I63f055756ff5f571d5ebe89aa4aee52d8ae2c510
2016-03-04remove unopkg script from MacOSX folder of sandboxed appAndras Timar1-1/+2
Change-Id: Ib59953225480e6923e418b966cce289f07f863b5 (cherry picked from commit f16f8ee5c2a269339a36bf6af9b24b50b4328a37)
2016-03-04create empty .lproj directories for languages supported by OS XAndras Timar1-5/+4
The previous solution had problems. InfoPlist.strings were empty, because localization has not been working since the CFBundleTypeIconFile entries were removed from Info.plist. Icon file basename was the key in documents.ulf. So we packaged 0 bytes long files. The second problem was that we used LibreOffice language codes, and OS X language codes are different in some cases. This caused problems such as French strings on English UI (e.g. Open/Save dialogs), because the system did not recognize en-US.lproj and en-GB.lproj, and fell back to the next one: fr. Conflicts: Makefile.in (cherry picked from commit 91902ef1411943f65da296fefd15fff9170d9c0c) Change-Id: I9c502cdf737b497ca2ceef8f3c535ccfea2f6134
2016-03-04Remove potential old leftover before moving the app bundleTor Lillqvist1-0/+1
Change-Id: I7f0a8ae184a2f3d8a4476415b56df4ad8e4e342f (cherry picked from commit 53c396c7008b807cffcc501171520b28c3f2ad24)
2016-03-04Skip some executables in the OS X sandboxed (Mac App Store) caseTor Lillqvist1-0/+14
I doubt end-users will miss gengal.bin, regview, or regmerge. We need the gengal program at build time. But don't bother shipping it on OS X, at least not in the sandboxed (App Store) case. Change-Id: Id73bef1ba71d126c2d2962fe846e9c31963d6c24
2016-03-03Unzip the InfoPlist.strings files into correct locationsTor Lillqvist1-3/+9
Not sure how useful it is to only provide translations for the ODF document format names, though. Change-Id: I22a2e5b896e077ca3067a30635f7cdf67c2f5e7c (cherry picked from commit 16f62d80c38f3920a40fc078edecad905ba2b196) (cherry picked from commit 348ac6a9d28d5961b8804a7be09d334fbc8ef21a)
2016-03-03We don't want those bin/InfoPlist_*.zip files in the app bundleTor Lillqvist1-0/+4
(cherry picked from commit 7956d38fa3c0db77b9b2b41f870bd3587e3dc1af) Conflicts: Makefile.in Change-Id: I29eefa599f175d98303fca8f5ccf1c8fe85b0bbc (cherry picked from commit b21140e2de219cd97cae5b7b9b988e1fd70da029) Reviewed-on: https://gerrit.libreoffice.org/22860 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-02-24Avoid quoting nonsense on WindowsStephan Bergmann1-1/+1
...where "/opt/lo/bin/make.exe distclean" had started to fail with > rm -fr C:/lo64/core/test-install > rm -fr C:/lo64/core/instdir > rm -fr C:/lo64/core/workdir > C:/cygwin64/bin/find: paths must precede expression: rm > Usage: C:/cygwin64/bin/find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] > Makefile:170: recipe for target 'distclean' failed > make: *** [distclean] Error 1 Change-Id: I98ecb51ba1747d55aec0eb80f5ec5a257dd5af76
2016-01-28improve distclean for cross-compilePeter Foley1-0/+2
Change-Id: I2af71d5039d330518ea115e6a95af1f15c376538 Reviewed-on: https://gerrit.libreoffice.org/21722 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-07configure: hard-code /usr/bin/{sort,find} for CygwinMichael Stahl1-1/+1
... to avoid calling C:/Windows/system32/{sort,find}.exe, if those happen to be first in PATH. On a Windows 7 system, the other conflicts appear to be harmless, we don't use "more", "expand", "timeout", "whoami". Change-Id: Iceefeb7ee6725291b04c0eba465991bb1df96b57 Reviewed-on: https://gerrit.libreoffice.org/21175 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2016-01-05Fix typosAndrea Gelmini1-1/+1
Change-Id: I3fba2c76c83381eb398c80947ef4849bccf7ab27 Reviewed-on: https://gerrit.libreoffice.org/21078 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-27tdf#84628 Generated eclipse setting file for per module.Gulsah Kose1-1/+2
This patch generated a setting file for per module. When imported the eclipsesettingfile.xml, underlined include lines are clearing up. Setting file includes included file paths for per module and provides correct build. .project file generator deleted because eclipse is creating .project file and overriding it. This adds a new property to the parser that stores each module. Change-Id: Ia10bb37c7c3fdb444a5b79ddf502b962e8ee5736 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
2015-10-19android/source/AndroidManifest.xml is not generated during the buildStephan Bergmann1-1/+0
Change-Id: I4bb861649375b5c6178df6820eb2c759111340b8
2015-10-11migrate android build to gradleChristian Lohmaier1-1/+0
move preparation tasks (creating assets/processing files) from the makefile into the gradle script This allows much easier integration into android-studio (just open android/source with android studio after running make to compile the native library) Change-Id: I9a9d6832797c24a7e195a1c7954cd6d20f5a8496
2015-10-02Remove setting Make SHELL completely from the build systemStephan Bergmann1-4/+1
...this is a follow-up to efad388f756014a7df5ed6f8e4ce417d24e9aba9 "Clean up Make SHELL handling," which broke out-of-tree builds. There appears to be no good reason at all to fiddle with Make's own behavior of determining its SHELL variable (which defaults to /bin/sh and can be overridden via a SHELL=... command line argument when invoking Make). The SHELL_BASH fiddling in configure.ac and Makefile.in was probably cargo cult carried along ever since 815f157c05ebc20e91a050823f048a977b8ae103 "CWS-TOOLING: integrate CWS configuretoplevel," in a time when the OOo build system still defaulted to tcsh. Change-Id: If906164abb6aae649ce8088d945a40213deed361 Reviewed-on: https://gerrit.libreoffice.org/19093 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-02Clean up Make SHELL handlingStephan Bergmann1-2/+4
* In configure.ac, honour a preset SHELL_BASH when determining SHELL_BASH (so it can be passed in via autogen.input). * For both toplevel "make" and per-module "cd $module && make", consistenly use the SHELL_BASH determined in configure.ac as the Make SHELL. (By moving the setting to a new, common soleng/gbuild/shell.mk. This also exports SHELL as an environment variable to sub-processes now; this exporting can probably be reverted if it is not what is actually wanted---but note that this exporting of an environment variable to sub-processes is unrelated to how nested invocations of $(MAKE) obtain their Make SHELL setting, see below.) * Remove the gb_SHELL override feature from solenv/gbuild/gbuild.mk; for one, it is unclear how it was intended to interact with setting SHELL=@SHELL_BASH@ in the toplevel Makefile; for another, overriding SHELL can be done globally via setting SHELL_BASH in autogen.input now. * Make treats SHELL specially, in that it never uses the SHELL environment variable to determine the Make SHELL variable. Instead, if this Make invocation, or any outer Make invocation it is nested in via calls of $(MAKE), was called with a SHELL=... command line argument, then that value is used (and otherwise the default is hardwired as /bin/sh). So, when calling nested invocations of $(MAKE) from the toplevel Makefile, pass down the current SHELL value via a SHELL=... command line argument via GMAKE_OPTIONS. (And further nested invocations of $(MAKE) will then automatically inherit the SHELL value given on the outer invocation's command line.) Change-Id: I67fa1b88e4e90d09456c1fcad2d082fdce3c019b
2015-08-11gbuild/config stop using VERBOSE, use only verbose=tNorbert Thiebaud1-1/+1
configure.ac was setting VERBOSE=YES/NO when really we use verbose=t or verbose= Change-Id: I47aee8d177cb2d788a62ecdbbb9cc3695c2bb299 Reviewed-on: https://gerrit.libreoffice.org/17634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-05-25QtCreator IDE integration.Michel Renon1-1/+2
First version of QtCreator IDE integration : 'make qtcreator-ide-integration' generates .pro and .pro.user files for each subfolder of LibreOffice. It also creates a 'lo.pro' meta project that list all other .pro files. Developers can use use QtCreator to edit, compile and debug LibreOffice. Change-Id: Ib05d8c36a7ca055ecd7a4db5776f4c28bf05676c Reviewed-on: https://gerrit.libreoffice.org/15804 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-05-21lokdocview: adapt Android pathMiklos Vajna1-2/+2
Change-Id: I786fd580b3d08fa076eeb2bf90bd23b09c9f8182
2015-03-26add Makefile deps and cleanup for config_host_lang.mk*David Tardon1-1/+4
Change-Id: I7fabd28ccdf66a4fa96838aafadbe6ceee8d9ee3
2015-03-08autogen.sh: better error message when src_path contains spacesMiklos Vajna1-0/+1
Change-Id: I921ffaf2ee4be73ecfffca8bc36cfae484b70a32
2015-02-23android: install gdb printersMiklos Vajna1-1/+1
Commit f44f94b95b435ee0ec71c73133daeb88cd2539b1 (fix gdb pretty printers for --enable-mergelibs, 2013-09-10) doesn't really say why this was wanted, probably just to be on the safe side. Enabling them allows at least manually loading them. Change-Id: I22eeca67e4077e06efba8b3edfd6eb84159b9c47
2015-01-07Gallery missing from gbuild_TARGETSStephan Bergmann1-0/+1
Change-Id: I9f44b64f1bc6d608f80666e46cc313ac0c123475
2014-11-24Makefile: provide a hint when "make iwyudummy" failsMichael Stahl1-0/+3
Change-Id: I5d37478e1dfdd9bf96ceb302fe51fc5c2b4ed838
2014-11-24improvements to iwyudummy targetNoel Grandin1-1/+3
- split awk script into separate file - make awk work on older awk version - create new target in main Makefile.in to generate iwyudummy Makefile so we don't have to manually uncomment stuff - exclude /usr includes from the generated makefile - disable unused macros warnings to reduce noise - add some sanity checking - prevent using the generated makefile with compiler-plugins enabled - add new target for generating iwyu Makefile so we don't need to edit the Makefile when using it Change-Id: I4af8eb7d1aa5419e546acb9ef905a0fe623db57d Reviewed-on: https://gerrit.libreoffice.org/12980 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-21Call all executables in solenv/bin/ with full pathStephan Bergmann1-7/+7
Change-Id: Ib8db64b9d8ff131b5b7cadea434681a825c967e7
2014-11-20Call install-gdb-printers with full pathStephan Bergmann1-1/+2
Change-Id: I92b34e61edb641d29d1cbf344e7ae5823c912cbc
2014-11-18Makefile: set CC as well for include-what-you-useMichael Stahl1-1/+1
Change-Id: I28c8f134825e477ffe993a6895b801c9e895f613
2014-11-17add a script to generate a dummy library to "build" all headersMichael Stahl1-0/+4
... to be used together --with-iwyu to track down bloat in headers, which are not always named in the convention that include-what-you-use expects for reporting issues. Change-Id: Idffda7d49cca43170717004d52779b4663de19ae
2014-11-11add 'make etags' to generate etagsTakeshi Abe1-1/+4
Change-Id: Id87f71b6d31720173f0c5ec2a4fc395065223b79 Reviewed-on: https://gerrit.libreoffice.org/12300 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-05Add build support for iwyuRiccardo Magliocchetti1-3/+5
include-what-you-use is a tool to help removing unneeded includes. Homepage: https://code.google.com/p/include-what-you-use/ So to use it pass its path to configure like: ./configure --with-iwyu=/usr/bin/include-what-you-use May be helpful for fdo#42949 Change-Id: Idc185c5181d754b9dfd82fcf6a5ad05953b3cd03 Reviewed-on: https://gerrit.libreoffice.org/12255 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-10-10android: Re-autogen when AndroidManifest.xml.in changes.Jan Holesovsky1-0/+1
Change-Id: I53cf6bf10f25702d9ae42afb6846411a3e31c187
2014-10-07Proper AC_CONFIG_FILE treatmentStephan Bergmann1-0/+1
Change-Id: Ic029d0d174a00af783fd276852231523aae59866
2014-10-03gbuild-to-ide: Add support for vs2013David Ostrovsky1-0/+1
Change-Id: I385e756109ab0a47feeeb4407ba4a2a4b68548dd Reviewed-on: https://gerrit.libreoffice.org/11728 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2014-09-17The URE unorc is now set up in instsetoo_native/CustomTarget_setup.mkTor Lillqvist1-2/+1
So no need to expand it at configure time in ure/source/unorc, and no need to handle the related builddir!=srcdir complications. Change-Id: Ifa34d25fab9ad2da13ed039bf6c5921b0fb58703
2014-09-16Missing rm of generated file in distcleanStephan Bergmann1-1/+2
Change-Id: I463bd51ad054b66c247f4d5ad778d15f476c6520
2014-09-12TypoTor Lillqvist1-1/+1
2014-09-09Surely by now nobody has a 'solver' folder or an 'install' symlink any moreTor Lillqvist1-2/+0
Change-Id: I814311cc0b3e78774f25cac06e48dbdc1cb82c69
2014-09-09Fix help and showmodules build targetsPeter Foley1-4/+7
Change-Id: I096798159f4d3d59306be1b3843de1daca280f7a Reviewed-on: https://gerrit.libreoffice.org/11342 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-05gbuild: Framework for performance unit tests using callgrindMatúš Kukan1-5/+7
Run them with "make perfcheck" (toplevel or in a module) To add a new performance test: - Add it as a perfcheck target - Use gb_CppunitTest_set_performance_test - Use CALLGRIND_ macros from valgrind/callgrind.h http://valgrind.org/docs/manual/cl-manual.html#cl-manual.clientrequests Change-Id: I67c776dbe4db0a686607efeee7a7e4f3aeae0e5c
2014-08-11add a IDE generator for clang json database formatMarkus Mohrhard1-0/+2
This can be used for YouCompleteMe a vim plugin that allows auto-completition based on clang. This is much better than the normal static analyzer based auto-completition. Change-Id: I4872d2cb3b3a404af55eacf5c71d6a2715771ab6 Reviewed-on: https://gerrit.libreoffice.org/10820 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-07If dev-install is obsolete, why have it at all?Tor Lillqvist1-14/+0
Replace mentions of it in a few (dcumentation) places with test-install. Change-Id: I6fc8e58fa5813b05de16feec35215c83e0e45834