Makefile: create parent directories if not exists.

Signed-off-by: Nicolas A. Ortega Froysa <nicolas.ortega@babelgroup.com>
This commit is contained in:
Nicolás A. Ortega Froysa 2024-05-21 14:14:37 +02:00 committed by Nicolás Ortega Froysa
parent d692d4aa59
commit e18136e43c

View File

@ -37,5 +37,7 @@ clean:
$(RM) pacundo.1.gz $(RM) pacundo.1.gz
install: pacundo pacundo.1.gz install: pacundo pacundo.1.gz
install -d $(PREFIX)/bin
install -m 755 pacundo $(PREFIX)/bin/ install -m 755 pacundo $(PREFIX)/bin/
install -d $(PREFIX)/share/man/man1
install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/ install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/