Commit graph

23 commits

Author SHA1 Message Date
Michael Stahl
ec8d4b1d23 gbuild: use zip --must-match to fail if input files are missing
With the last "find" call to determine inputs removed, this should
hopefully work reliably now.

Change-Id: Ie725e29d0889ec40cefc961ff61b2cf29839fb66
2013-03-13 14:33:56 +01:00
Michael Stahl
c81e40d026 gbuild: Zip/Jar targets: depend on makefile to rebuild on removal
Change-Id: I0b79b6c9018e4513b9f0b16be3e57f620d12ea23
2013-02-26 15:45:12 +01:00
David Tardon
38c8b84c7f allow to create non-delivered Zip targets
Change-Id: I3496d815d4f2fedf04ca2c1727f37362c7395296
2013-02-26 15:24:53 +01:00
Peter Foley
613221bde1 convert odk to gbuild and add to tail_build
Change-Id: I8e8de7f2bb87cce7916c7c2df24c1b0ddaea55c0
Reviewed-on: https://gerrit.libreoffice.org/2288
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2013-02-23 21:39:52 +00:00
Luboš Luňák
28ae80a89d userfriendly make targets for build and clean
So that now it's possible to do just
'make CppunitTest_sw_macros_test'
instead of
'make /home/llunak/build/src/l2/workdir/unxlngx6/CppunitTest/sw_macros_test.test'

Change-Id: Ibd1e9ef4fc825043a71bd669b2f5c37ffec68e33
Reviewed-on: https://gerrit.libreoffice.org/1253
Reviewed-by: Peter Foley <jpfoley2@gmail.com>
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-10 14:06:01 +00:00
Michael Stahl
ca284bb746 ct2n: use a Zip target after all, because...
... the ExtensionTarget requires the description.xml to have a
translation in the --with-lang case.

Change-Id: I155e47d8a44590995ffcd63cb9ac8f02822a82e9
2012-10-25 00:40:54 +02:00
David Tardon
20f06e3cd3 add AllLangZip gbuild class
Change-Id: I1b0ebafac55bdfb41c5e6e64ded637313e47bae4
2012-08-24 13:22:05 +02:00
Matúš Kukan
736170293c gbuild: remove gb_Helper_abbreviate_dirs_native
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
2012-05-09 09:39:19 +01:00
Michael Stahl
294b86e3db gbuild: fix mkdir optimization with make 3.81
The problem is that make 3.81 does not match pattern rules whose target
ends with '/' against directories.
(regression from 408822b547,
90491a073c)
So use a fake file ".dir" in the respective directory, and try not to
spawn unnecessary mkdir processes by checking for existence via realpath.
This is all quite ugly and should be reverted once support for make 3.81
is dropped.

Also, fix a pre-existing problem of pattern rules with multiple targets
that used to work by accident in Package.mk.
2012-03-08 10:01:48 +01:00
Matúš Kukan
90491a073c gbuild: do not call mkdir -p in gb_Deliver__deliver
Rather create new order-only dependencies on directories where
targets should be delivered.

On cygwin this is much faster.
2012-03-05 23:02:41 +01:00
Matúš Kukan
8c2a56253a gbuild: Zip: allow to add command line options when zipping 2012-02-19 19:24:32 +01:00
Matúš Kukan
8e85ef0501 gbuild: Zip: clean properly all created targets on 'make clean' 2012-02-19 19:24:32 +01:00
Matúš Kukan
84a558756f adjust Zip.mk so we can copy files from other places to workdir and pack them 2011-10-01 17:26:07 +02:00
David Tardon
c40f63454d work silently for make -s 2011-09-15 06:29:38 +02:00
David Tardon
37356b7b2a allow to specify additional deps for zip target 2011-09-15 06:29:37 +02:00
David Tardon
26c2d9ac99 announce building of zip archives 2011-09-09 08:17:49 +02:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Tor Lillqvist
cd67423913 Add Emacs mode lines and a few missing vim ones 2011-07-26 00:10:28 +03:00
Jan Holesovsky
23960781be Use --filesync instead of -FS as the zip option. 2011-07-25 13:24:09 +02:00
Bjoern Michaelsen
66dee9cd69 postmerge fixes for gnumake4 2011-07-22 21:02:42 +02:00
Mathias Bauer
a308b65037 CWS gnumake4: use pattern rules for zip and jar 2011-06-16 10:49:06 +02:00
Mathias Bauer
47c2ec8355 CWS gnumake4: some improvements for zip+jar, documentation 2011-06-16 10:45:58 +02:00
Mathias Bauer
afa6e26ab1 CWS gnumake4: add support for zip and jar files 2011-06-16 10:00:45 +02:00