-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
32 lines (23 loc) · 857 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
VERSION=0.3
all: app
app: dic
cd app && xcodebuild
install: app
-killall Hiragany
cp -R app/build/Release/Hiragany.app ~/Library/Input\ Methods/
# cp -R app/build/Release/Hiragany.app /Library/Input\ Methods/
release: dist/Hiragany-${VERSION}.zip
dist/Hiragany-${VERSION}.zip: app/build/Release/Hiragany.app
rm -rf dist/Hiragany-${VERSION}
mkdir -p dist/Hiragany-${VERSION}
cp README.txt dist/Hiragany-${VERSION}
cp -R app/build/Release/Hiragany.app dist/Hiragany-${VERSION}
cd dist && zip -r Hiragany-${VERSION}.zip Hiragany-${VERSION}
dic: app/Resources/KanaKanji.plist
app/Resources/KanaKanji.plist: dict/*
cd dict && ruby mk_plist.rb hiragany.dict > ../app/Resources/KanaKanji.plist
debug: dic
cd app && xcodebuild -configuration Debug
debug-install:
killall Hiragany
cp -R app/build/Debug/Hiragany.app /Library/Input\ Methods/