Fix bash completion installation

Currently this fails if the directory for the completion does not
already exist, at least with FreeBSD install(1).
This commit is contained in:
Isaac Freund 2024-12-10 13:48:11 +01:00 committed by Leon Henrik Plickat
parent 7735d65230
commit 41bc661837
No known key found for this signature in database
GPG Key ID: BEE123381A011200

View File

@ -26,6 +26,7 @@ install: wlopm
install wlopm $(DESTDIR)$(BINDIR) install wlopm $(DESTDIR)$(BINDIR)
install -d $(DESTDIR)$(MANDIR)/man1 install -d $(DESTDIR)$(MANDIR)/man1
install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1 install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1
install -d $(DESTDIR)$(BASHCOMPDIR)
install bash-completion $(DESTDIR)$(BASHCOMPDIR)/wlopm install bash-completion $(DESTDIR)$(BASHCOMPDIR)/wlopm
uninstall: uninstall: