summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 17:00:49 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 17:00:49 +0100
commitddd53a8bc0e329ae5b5f7f55d3655a2d6d7ab3bd (patch)
tree75a71b6df39d991dfb188850196ada55dc7ee074
parent060fe07f8d150a0ffc9d080528e03b5f37e7c8bc (diff)
fix: replace curly bracket to parenthesis
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4db3702..2070c94 100644
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,14 @@ ifndef PREFIX
endif
install:
- mkdir -p ${DESTDIR}${PREFIX}/bin
- cp -f bin/stagit-new-repo bin/stagit-gen-index ${DESTDIR}${PREFIX}/bin/
- chmod 755 ${DESTDIR}${PREFIX}/bin/stagit-gen-index ${DESTDIR}${PREFIX}/bin/stagit-new-repo
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp -f bin/stagit-new-repo bin/stagit-gen-index $(DESTDIR)$(PREFIX)/bin/
+ chmod 755 $(DESTDIR)$(PREFIX)/bin/stagit-gen-index $(DESTDIR)$(PREFIX)/bin/stagit-new-repo
mkdir -p /home/git/hooks
cp hooks/post-receive /home/git/hooks/
uninstall:
- rm ${DESTDIR}${PREFIX}/bin/stagit-gen-index ${DESTDIR}${PREFIX}/bin/stagit-new-repo
+ rm $(DESTDIR)$(PREFIX)/bin/stagit-gen-index $(DESTDIR)$(PREFIX)/bin/stagit-new-repo
rm /home/git/hooks/post-receive
.PHONY: install uninstall