From ac6877fef5b0b9983244e649f3fe9de766fc2825 Mon Sep 17 00:00:00 2001 From: Karl Linden Date: Sun, 26 Nov 2017 18:46:13 +0100 Subject: [PATCH] Fix install when the destination does not exist. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8d0e4a4..ea90cbf 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ clean: rm -f $(program) $(objects) install: $(program) - install $(program) $(DESTDIR)$(PREFIX)/bin + install -D -t $(DESTDIR)$(PREFIX)/bin $(program) dist: tar cfa $(program)-v1b.tar.gz Makefile README.md $(headers) $(sources)