From f29c48db6b3d1e9e3efde1402ebd1e57dd7f802e Mon Sep 17 00:00:00 2001
From: Stefano Brivio <sbrivio@redhat.com>
Date: Sat, 28 Aug 2021 03:18:29 +0200
Subject: Makefile: Make sure destination directories exist on install

Mostly theoretical, but convenient for testing.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 4f45455..7ad1f7e 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,7 @@ clean:
 		passt.tar passt.tar.gz *.deb *.rpm
 
 install: passt pasta qrap
+	mkdir -p $(prefix)/bin $(prefix)/man/man1
 	cp -d passt pasta qrap $(prefix)/bin
 	cp -d passt.1 pasta.1 qrap.1 $(prefix)/man/man1
 
-- 
cgit v1.2.3