[PATCH acecad] Don't install libtool's .la file. (bug 4898)

Jesse Adkins jesserayadkins at gmail.com
Fri Nov 26 16:08:26 PST 2010


.la files are used for specifying library dependencies for static libraries.
Since nobody builds against the .so, the .la is unnecessary.

Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
---
 Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4c278ba..fa267f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,3 +30,7 @@ ChangeLog:
 	$(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+# Drivers are always loaded dynamically, so the .la is unneeded.
+install-data-hook:
+	$(AM_V_at)rm -f $(DESTDIR)$(inputdir)/acecad_drv.la
-- 
1.7.1



More information about the xorg-devel mailing list