Makefile: Create install directories.

Sometimes these directories may not exist.
This commit is contained in:
Nicolás A. Ortega Froysa 2024-11-04 16:52:57 +01:00
parent 3157d98ea1
commit ccccacd88d

View File

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