-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
21 lines (15 loc) · 648 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DEFAULT_BUILDCONFIGURATION=Debug
BUILDCONFIGURATION?=$(DEFAULT_BUILDCONFIGURATION)
DEFAULT_ADIUM_PLUGINS_DIR=$(HOME)/Library/Application\ Support/Adium\ 2.0/PlugIns
ADIUM_PLUGINS_DIR?=$(DEFAULT_ADIUM_PLUGINS_DIR)
build:
git submodule update --init
xcodebuild -project AdiumMatrix.xcodeproj -configuration $(BUILDCONFIGURATION) build
clean:
rm -rf ./build
install:
mkdir -p $(ADIUM_PLUGINS_DIR)
rm -rf $(ADIUM_PLUGINS_DIR)/AdiumMatrix.AdiumLibpurplePlugin
cp -r ./build/$(BUILDCONFIGURATION)/AdiumMatrix.AdiumLibpurplePlugin $(ADIUM_PLUGINS_DIR)
test -d $(ADIUM_PLUGINS_DIR)/AdiumMatrix.AdiumLibpurplePlugin
.PHONY: build clean install