So, maybe next improvement would be to call cp once for all files from
the same directory.
As we de facto are requiring to use our own fork of Make anyway
(aren't we?), couldn't we add "touch", "mkdir" and "cp" functions to
Make? Implementing those should be fairly trivial.
If we don't want to require our own Make fork, we could wrap these in
gbuild macros that check the Make version and call external commands
instead if needed.
While at it, we could then add a"ifeq" and "ifneq" functions (don't
confuse with the line-based "ifeq" and "ifneq" directives processed
while reading in makefiles). That would enable making many of the
conditionals easier to understand, I think. Such macros would be
harder to wrap portably, though, I think.
--tml
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.