[Libreoffice-commits] .: solenv/gbuild
Bjoern Michaelsen
bmichaelsen at kemper.freedesktop.org
Wed Dec 7 14:55:32 PST 2011
solenv/gbuild/extensions/post_AuxTargets.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4d247bd3c0b3a2d7460dedfb7050260eff2c0999
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Wed Dec 7 23:50:07 2011 +0100
do not clean INPATH_FOR_BUILD on noncrosscompiles
diff --git a/solenv/gbuild/extensions/post_AuxTargets.mk b/solenv/gbuild/extensions/post_AuxTargets.mk
index ce4a5cb..f4c653f 100644
--- a/solenv/gbuild/extensions/post_AuxTargets.mk
+++ b/solenv/gbuild/extensions/post_AuxTargets.mk
@@ -67,7 +67,7 @@ clean-host:
clean-build:
if [ -f $(SRCDIR)/dmake/Makefile ] ; then $(GNUMAKE) -C $(SRCDIR)/dmake clean; fi
rm -f solenv/*/bin/dmake*
- rm -rf $(SRCDIR)/*/$(INPATH_FOR_BUILD)
+ $(if $(filter-out $(INPATH),$(INPATH_FOR_BUILD),)rm -rf $(SRCDIR)/*/$(INPATH_FOR_BUILD))
distclean: clean
if [ -f $(SRCDIR)/dmake/Makefile ] ; then $(GNUMAKE) -C $(SRCDIR)/dmake clean; fi
More information about the Libreoffice-commits
mailing list