summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-12-07 00:12:29 -0800
committerMatt Turner <mattst88@gmail.com>2014-12-12 12:11:49 -0800
commit3b7bcb5d04abf7c133b57e0d3647e8896ee23170 (patch)
tree5404e4f01f59333b3704fc02be4de978b871dfae /src/gallium/targets
parent65155c208d84bfd49440c890253b43f266544931 (diff)
downloadexternal_mesa3d-3b7bcb5d04abf7c133b57e0d3647e8896ee23170.zip
external_mesa3d-3b7bcb5d04abf7c133b57e0d3647e8896ee23170.tar.gz
external_mesa3d-3b7bcb5d04abf7c133b57e0d3647e8896ee23170.tar.bz2
dri: Add uninstall hooks to handle megadriver hardlinks.
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
index 0091535..74fb2d6 100644
--- a/src/gallium/targets/dri/Makefile.am
+++ b/src/gallium/targets/dri/Makefile.am
@@ -131,3 +131,8 @@ install-data-hook:
$(DESTDIR)$(dridir)/$${i}_dri.so; \
done; \
$(RM) -f $(DESTDIR)$(dridir)/gallium_dri.*
+
+uninstall-hook:
+ for i in $(TARGET_DRIVERS); do \
+ $(RM) -f $(DESTDIR)$(dridir)/$${i}_dri.so; \
+ done;