BathyScapheのSQLiteデータベース内を覗くアプリ
Rev. | c5cbcdd0fa257327a0f792df0f709ecf2683297c |
---|---|
Tamanho | 1,566 bytes |
Hora | 2011-12-03 14:04:59 |
Autor | masakih |
Mensagem de Log | nibをxibに変更。
git-svn-id: svn+ssh://macmini/usr/local/svnrepos/BSDBViewer/BSDBViewer@18 477addb1-df5c-4826-a637-c2b1bdcd60d4
|
PRODUCT_NAME=BSDBViewer
PRODUCT_EXTENSION=app
BUILD_PATH=./build
DEPLOYMENT=Release
APP_BUNDLE=$(PRODUCT_NAME).$(PRODUCT_EXTENSION)
APP=$(BUILD_PATH)/$(DEPLOYMENT)/$(APP_BUNDLE)
APP_NAME=$(BUILD_PATH)/$(DEPLOYMENT)/$(PRODUCT_NAME)
INFO_PLIST=Info.plist
URL_BSDBViewer = svn+ssh://macmini/usr/local/svnrepos/BSDBViewer
HEAD = $(URL_BSDBViewer)/BSDBViewer
TAGS_DIR = $(URL_BSDBViewer)/tags
VER_CMD=grep -A1 'CFBundleShortVersionString' $(INFO_PLIST) | tail -1 | tr -d "'\t</string>"
VERSION=$(shell $(VER_CMD))
all:
@echo do nothig.
@echo use target tagging
tagging:
@echo "Tagging the $(VERSION) release of BSDBViewer project."
@echo
@echo svn copy $(HEAD) $(TAGS_DIR)/release-$(VERSION)
Localizable: BSTRADocument.m
genstrings -o English.lproj $<
(cd English.lproj; ${MAKE} $@;)
genstrings -o Japanese.lproj $<
(cd Japanese.lproj; ${MAKE} $@;)
checkLocalizable:
(cd English.lproj; ${MAKE} $@;)
(cd Japanese.lproj; ${MAKE} $@;)
release: updateRevision
xcodebuild -configuration $(DEPLOYMENT)
$(MAKE) restorInfoPlist
package: release
REV=`LC_ALL=C svn info | awk '/Last Changed Rev/ {print $$4}'`; \
ditto -ck -rsrc --keepParent $(APP) $(APP_NAME)-$(VERSION)-$${REV}.zip
updateRevision: update_svn
cp $(INFO_PLIST) $(INFO_PLIST).bak ; \
REV=`LC_ALL=C svn info | awk '/Last Changed Rev/ {print $$4}'` ; \
sed -e "s/%%%%REVISION%%%%/$${REV}/" $(INFO_PLIST) > $(INFO_PLIST).r ; \
mv -f $(INFO_PLIST).r $(INFO_PLIST) ; \
restorInfoPlist:
if [ -f $(INFO_PLIST).bak ] ; then mv -f $(INFO_PLIST).bak $(INFO_PLIST) ; fi
update_svn:
svn up