Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 2/26/12 13:00 , Peter Foley wrote:
 Makefile |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit a75873dea15719b5216cfd0476d30003ffc76e80
Author: Peter Foley <pefoley2@verizon.net>
Date:   Sun Feb 26 13:53:09 2012 -0500

    allow autogen.sh to be run automatically

diff --git a/Makefile b/Makefile
index a37bca3..68bea91 100644
--- a/Makefile
+++ b/Makefile
@@ -342,12 +342,15 @@ ifneq ($(filter-out clean distclean,$(MAKECMDGOALS)),)
 # restart since autogen can have changed
 # config_host.k which is included in this
 # Makefile
-Makefile: config_host.mk
+Makefile: $(SRCDIR)/config_host.mk

why did you have to add $SRCDIR here ?
Makefile has to be run in the top dir... and if not the dependencies below would not be found 
(config_host.mk.in for
instance)

Norbert

      touch $@
 
-config_host.mk : config_host.mk.in bin/repo-list.in ooo.lst.in configure.in autogen.lastrun
+$(SRCDIR)/config_host.mk : config_host.mk.in bin/repo-list.in ooo.lst.in configure.in 
autogen.lastrun
      ./autogen.sh
 
+autogen.lastrun:
+     @true
+
 #
 # Fetch
 #
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits



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.