masakih

BSIconSetComposer(プロジェクト終了)

  • R/O
  • HTTP
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

BathyScapheのアイコンセット生成&適用ツール


コミットメタ情報

リビジョンd2df6d7738dff048c0a4f70597bb609c948ef181 (tree)
日時2012-05-27 14:51:06
作者masakih <masakih@user...>
コミッターmasakih

ログメッセージ

[Mod] 新しいMakefile

変更サマリ

差分

--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
11 # encoding=utf-8
22
33 PRODUCT_NAME=BSIconSetComposer
4-VERSION=1.4
5-REV_CORRECT=107
64 PRODUCT_EXTENSION=app
75 BUILD_PATH=./build
86 DEPLOYMENT=Release
@@ -11,21 +9,15 @@ APP=$(BUILD_PATH)/$(DEPLOYMENT)/$(APP_BUNDLE)
119 APP_NAME=$(BUILD_PATH)/$(DEPLOYMENT)/$(PRODUCT_NAME)
1210 INFO_PLIST=Info.plist
1311
12+VER_CMD=grep -A1 'CFBundleShortVersionString' $(INFO_PLIST) | tail -1 | tr -d "'\t</string>"
13+VERSION=$(shell $(VER_CMD))
1414
15-all:
16- @echo do nothig.
17- @echo use target tagging
18-
19-tagging:
20- @echo "Tagging the $(VERSION) (x) release of BSIconSetComposer project."
21- REV=`git show | head -1 | awk '{printf("%.7s\n", $$2)}'`; \
22- ver=`grep -A1 'CFBundleShortVersionString' Info.plist | tail -1 | tr -d '\t</string>'`; \
23- echo svn copy $(HEAD) $(TAGS_DIR)/release-$${ver}.$${REV}
15+all: package
2416
2517 Localizable: IconSetComposer.m
26- genstrings -o English.lproj $<
18+ genstrings -o English.lproj $^
2719 (cd English.lproj; ${MAKE} $@;)
28- genstrings -o Japanese.lproj $<
20+ genstrings -o Japanese.lproj $^
2921 (cd Japanese.lproj; ${MAKE} $@;)
3022
3123 checkLocalizable:
@@ -47,6 +39,6 @@ updateRevision:
4739 mv -f $(INFO_PLIST).r $(INFO_PLIST) ; \
4840
4941 restorInfoPlist:
50- if [ -f $(INFO_PLIST).bak ] ; then cp -f $(INFO_PLIST).bak $(INFO_PLIST) ; fi
42+ if [ -f $(INFO_PLIST).bak ] ; then mv -f $(INFO_PLIST).bak $(INFO_PLIST) ; fi
5143
5244