aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/xvmc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/xvmc/Makefile.am')
-rw-r--r--src/gallium/targets/xvmc/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am
index b65a191eab0..e29dd6a5cad 100644
--- a/src/gallium/targets/xvmc/Makefile.am
+++ b/src/gallium/targets/xvmc/Makefile.am
@@ -70,7 +70,6 @@ endif
install-data-hook:
$(AM_V_GEN)dest_dir=$(DESTDIR)/$(xvmcdir); \
for i in $(TARGET_DRIVERS); do \
- has_drivers=1; \
j=libXvMCgallium.$(LIB_EXT); \
k=libXvMC$${i}.$(LIB_EXT); \
l=$${k}.$(XVMC_MAJOR).$(XVMC_MINOR).0; \
@@ -84,7 +83,7 @@ install-data-hook:
$${dest_dir}/$${k}; \
done; \
$(RM) $${dest_dir}/libXvMCgallium.*; \
- test $${has_drivers} -eq 1 || $(RM) -d $${dest_dir}
+ $(RM) -d $${dest_dir} &>/dev/null || true
uninstall-hook:
for i in $(TARGET_DRIVERS); do \