Skip to content

Commit

Permalink
Use installer for make install
Browse files Browse the repository at this point in the history
  • Loading branch information
robb committed Dec 1, 2014
1 parent 032d608 commit 83276a8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,8 @@ clean:
rm -rf "$(TEMPORARY_FOLDER)"
xcodebuild $(XCODEFLAGS) clean

install: clean bootstrap
xcodebuild $(XCODEFLAGS) install

mkdir -p "$(FRAMEWORKS_FOLDER)"
rm -rf "$(FRAMEWORKS_FOLDER)/CarthageKit.framework"
cp -PR "$(CARTHAGEKIT_BUNDLE)" "$(FRAMEWORKS_FOLDER)/"

install -d "$(BINARIES_FOLDER)"
install -CSs "$(CARTHAGE_EXECUTABLE)" "$(BINARIES_FOLDER)/"
install: package
sudo installer -pkg Carthage.pkg -target /

uninstall:
rm -rf "$(FRAMEWORKS_FOLDER)/CarthageKit.framework"
Expand Down

0 comments on commit 83276a8

Please sign in to comment.