Favicon

BSDBuild: r728 - trunk

Author: vedge
Date: 2008-09-01 23:27:18 -0300 (Mon, 01 Sep 2008)
New Revision: 728

Modified:
   trunk/build.lib.mk
   trunk/build.prog.mk
Log:
fix dependencies with in-place builds, don't rely on the BSD make behavior
of including .depend by default; reported by smeuuh@

Modified: trunk/build.lib.mk
===================================================================
--- trunk/build.lib.mk	2008-09-02 01:49:57 UTC (rev 727)
+++ trunk/build.lib.mk	2008-09-02 02:27:18 UTC (rev 728)
@@ -333,10 +333,13 @@
 	    echo "rm -f ${CLEANFILES}"; \
 	    rm -f ${CLEANFILES}; \
 	fi
+	@if [ -e ".depend" ]; then \
+		echo "echo -n >.depend"; \
+		echo -n >.depend; \
+	fi

 cleandir-lib:
-	rm -f ${LIBTOOL} ${LIBTOOL_COOKIE} ${LTCONFIG_LOG} config.log
-	rm -f .depend tags
+	rm -f ${LIBTOOL} ${LIBTOOL_COOKIE} ${LTCONFIG_LOG} config.log tags
 	if [ -e "./config/prefix.h" ]; then rm -fr ./config; fi
 	if [ -e "Makefile.config" ]; then echo -n >Makefile.config; fi
(Continue reading)


Gmane