From 7a3ef85215b7d2650d6f3a0664ca4b630d7f8776 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 5 Jan 2022 00:11:40 +0530 Subject: Makefile: Use install to create installation directories. * Makefile (install): Use the install command to create installation directories. --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 323e55c..6005d67 100644 --- a/Makefile +++ b/Makefile @@ -40,10 +40,8 @@ check: .PHONY: install install: $(sources) $(objects) - mkdir -p $(scmdir) - mkdir -p $(godir) - install $(sources) $(scmdir) - install $(objects) $(godir) + install -D $(sources) --target-directory $(scmdir) + install -D $(objects) --target-directory $(godir) website: website/index.html -- cgit v1.2.3