summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/directfb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/directfb/Makefile')
-rw-r--r--src/mesa/drivers/directfb/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/directfb/Makefile b/src/mesa/drivers/directfb/Makefile
index d78662dd967..56f7eac7cae 100644
--- a/src/mesa/drivers/directfb/Makefile
+++ b/src/mesa/drivers/directfb/Makefile
@@ -45,7 +45,8 @@ install:
echo "*** Installation aborted."; \
exit 1; \
fi;
- install -m 0755 $(DIRECTFBGL_MESA) $(DFB_MODULEDIR)/interfaces/IDirectFBGL/
+ test -d $(DFB_MODULEDIR)/interfaces/IDirectFBGL/ || mkdir $(DFB_MODULEDIR)/interfaces/IDirectFBGL/
+ install -m 755 $(DIRECTFBGL_MESA) $(DFB_MODULEDIR)/interfaces/IDirectFBGL/
clean: