Skip to content

Commit

Permalink
Merge pull request #21 from thelvis4/master
Browse files Browse the repository at this point in the history
Add 'MAKE_SYMLINKS' option to Makefile
  • Loading branch information
S2dentik committed Feb 10, 2016
2 parents b3a1ed6 + 63eef82 commit 9ab4785
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TEMPORARY_FOLDER?=$(HOME)/tmp
PREFIX?=/usr/local/tools/Taylor
MAKE_SYMLINKS?=yes
BUILD_TOOL?=xcodebuild
PACKAGE_NAME?=Taylor.app
BUILD_DESTINATION?=$(TEMPORARY_FOLDER)/Build/Products/Release
Expand All @@ -16,8 +17,10 @@ install:

ditto "$(BUILD_DESTINATION)/$(PACKAGE_NAME)/Contents/MacOS/Taylor" "$(PREFIX)/bin/taylor"
ditto "$(BUILD_DESTINATION)/$(PACKAGE_NAME)/Contents/Frameworks/" "$(PREFIX)/Frameworks/"
ifeq ($(MAKE_SYMLINKS),yes)
ln -sf "$(PREFIX)/bin/taylor" "/usr/local/bin/taylor"

endif

make remove

remove:
Expand Down

0 comments on commit 9ab4785

Please sign in to comment.