From 92cd13f854694b288f2e6b42ad3eda25e921bc7f Mon Sep 17 00:00:00 2001 From: Benjamin Demaille Date: Tue, 1 Sep 2026 00:03:32 +0200 Subject: [PATCH] Makefile: create BINDIR before installing `make install` fails when $(PREFIX)/bin does not exist yet, because `install` does not create the destination directory. Create BINDIR first. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 53af9110..5920bb4d 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,7 @@ clean: @rm -f $(TARGET) install: + mkdir -p $(BINDIR) install $(TARGET) $(BINDIR)/$(TARGET) @echo "Installed."