Mesa (10.4): install-lib-links: remove the .install-lib-links file

Emil Velikov evelikov at kemper.freedesktop.org
Wed Mar 4 02:02:53 UTC 2015


Module: Mesa
Branch: 10.4
Commit: 120792fa04e67da1042583cb4dfbe901bad618d9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=120792fa04e67da1042583cb4dfbe901bad618d9

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Feb 24 14:05:15 2015 +0000

install-lib-links: remove the .install-lib-links file

With earlier commit (install-lib-links: don't depend on .libs directory)
we moved the location of the file from .libs/ to the current dir.
Although we did not attribute that in the former case autotools was
doing us a favour and removing the file. Explicitly remove the file at
clean-local time, otherwise we'll end up with dangling files.

Cc: "10.3 10.4 10.5" <mesa-stable at lists.freedesktop.org>
Cc: Matt Turner <mattst88 at gmail.com>
Cc: Lucas Stach <l.stach at pengutronix.de>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit fece147be53880ac8e8e5e2863f91cdd01d98b5c)

---

 install-lib-links.mk |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/install-lib-links.mk b/install-lib-links.mk
index 1893457..860f93c 100644
--- a/install-lib-links.mk
+++ b/install-lib-links.mk
@@ -14,5 +14,9 @@ all-local : .install-mesa-links
 			ln -f $$f $(top_builddir)/$(LIB_DIR);	\
 		fi;						\
 	done && touch $@
+
+clean-local:
+	$(RM) .install-mesa-links
+
 endif
 endif




More information about the mesa-commit mailing list