aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-01-05 00:11:40 +0530
committerArun Isaac2022-01-05 00:11:40 +0530
commit7a3ef85215b7d2650d6f3a0664ca4b630d7f8776 (patch)
tree72aaa390f4d0e9f4c05f3570f9f8f31491ea95df
parentcdc39dea881aaebc4213a2c48a3b856a941bb0fe (diff)
downloadkolam-7a3ef85215b7d2650d6f3a0664ca4b630d7f8776.tar.gz
kolam-7a3ef85215b7d2650d6f3a0664ca4b630d7f8776.tar.lz
kolam-7a3ef85215b7d2650d6f3a0664ca4b630d7f8776.zip
Makefile: Use install to create installation directories.
* Makefile (install): Use the install command to create installation directories.
-rw-r--r--Makefile6
1 files 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