Makefile: Make sure destination directories exist on install

Mostly theoretical, but convenient for testing.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-08-28 03:18:29 +02:00
parent 77d4efa236
commit f29c48db6b

View file

@ -34,6 +34,7 @@ clean:
passt.tar passt.tar.gz *.deb *.rpm passt.tar passt.tar.gz *.deb *.rpm
install: passt pasta qrap install: passt pasta qrap
mkdir -p $(prefix)/bin $(prefix)/man/man1
cp -d passt pasta qrap $(prefix)/bin cp -d passt pasta qrap $(prefix)/bin
cp -d passt.1 pasta.1 qrap.1 $(prefix)/man/man1 cp -d passt.1 pasta.1 qrap.1 $(prefix)/man/man1