summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 95538ac..6edd7f4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-SOURCE=git-sonar
+SOURCE=git-sonar git-precheck
PREFIX?=/usr/local
PWD=$(shell pwd)
@@ -21,7 +21,9 @@ install: $(SOURCE)
mkdir -p $(PREFIX)/bin
install -m 755 $(SOURCE) $(PREFIX)/bin
+# Link each file separately since the full PWD is needed
develop: $(SOURCE)
@echo 'Symlinking in' $(PREFIX)/bin '...'
mkdir -p $(PREFIX)/bin
- ln -sf $(PWD)/$(SOURCE) $(PREFIX)/bin
+ ln -sf $(PWD)/git-sonar $(PREFIX)/bin
+ ln -sf $(PWD)/git-precheck $(PREFIX)/bin