diff options
author | Matt Turner <[email protected]> | 2014-12-07 00:00:27 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-12-12 12:11:49 -0800 |
commit | 65155c208d84bfd49440c890253b43f266544931 (patch) | |
tree | e4c0da1543516f9c4c4502ea0aca9cfaf49f2f21 /src/gallium/targets/dri | |
parent | d27379d016a346776a50379906dee0869074eabc (diff) |
targets/dri: Remove unnecessary variables in install-data-hook.
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r-- | src/gallium/targets/dri/Makefile.am | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am index c2eea275e60..009153594a9 100644 --- a/src/gallium/targets/dri/Makefile.am +++ b/src/gallium/targets/dri/Makefile.am @@ -118,21 +118,16 @@ all-local: $(dri_LTLIBRARIES) $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \ $(MKDIR_P) $${link_dir}; \ for i in $(TARGET_DRIVERS); do \ - j=gallium_dri.so; \ - k=$${i}_dri.so; \ - ln -f .libs/$${j} \ - $${link_dir}/$${k}; \ + ln -f .libs/gallium_dri.so \ + $${link_dir}/$${i}_dri.so; \ done endif # hardlink each megadriver instance, but don't actually have # gallium_dri.so in the set of final installed files. install-data-hook: - $(AM_V_GEN)dest_dir=$(DESTDIR)/$(dridir); \ for i in $(TARGET_DRIVERS); do \ - j=gallium_dri.so; \ - k=$${i}_dri.so; \ - ln -f $${dest_dir}/$${j} \ - $${dest_dir}/$${k}; \ + ln -f $(DESTDIR)$(dridir)/gallium_dri.so \ + $(DESTDIR)$(dridir)/$${i}_dri.so; \ done; \ - $(RM) -f $$dest_dir/gallium_dri.* + $(RM) -f $(DESTDIR)$(dridir)/gallium_dri.* |