From 49dcc5cb7483cd22341c3a2e4aa5d5a76449d7e8 Mon Sep 17 00:00:00 2001
From: Shetu Ayalew <shetu@mellanox.com>
Date: Mon, 11 May 2020 11:45:19 +0300
Subject: [PATCH] Create python coccilib at install time

Signed-off-by: Shetu Ayalew <shetu@mellanox.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 457d3116..4aa0aad1 100644
--- a/Makefile
+++ b/Makefile
@@ -329,6 +329,7 @@ install-spgen : tools/spgen/source/spgen$(TOOLS_SUFFIX)
 
 .PHONY : install-python
 install-python:
+	install -d $(DESTDIR)$(LIBDIR)/python/coccilib
 	$(INSTALL_DATA) python/coccilib/*.py \
 		$(DESTDIR)$(LIBDIR)/python/coccilib
 
-- 
2.14.5

