BathyScapheのSQLiteデータベース内を覗くアプリ
修訂 | 793d0e7c6c6424c95111ed4886d86c20463e32b2 (tree) |
---|---|
時間 | 2008-06-15 17:27:24 |
作者 | masakih <masakih@user...> |
Commiter | masakih |
Makefile
単純化した。
git-svn-id: svn+ssh://macmini/usr/local/svnrepos/BSDBViewer/BSDBViewer@10 477addb1-df5c-4826-a637-c2b1bdcd60d4
@@ -21,7 +21,6 @@ all: | ||
21 | 21 | |
22 | 22 | tagging: |
23 | 23 | @echo "Tagging the $(VERSION) release of BSDBViewer project." |
24 | - export LC_ALL=C; \ | |
25 | 24 | echo svn copy $(HEAD) $(TAGS_DIR)/release-$(VERSION) |
26 | 25 | |
27 | 26 | Localizable: BSTRADocument.m |
@@ -39,19 +38,17 @@ release: updateRevision | ||
39 | 38 | $(MAKE) restorInfoPlist |
40 | 39 | |
41 | 40 | package: release |
42 | - export LC_ALL=C; \ | |
43 | - REV=`svn info | awk '/Last Changed Rev/ {print $$4}'`; \ | |
41 | + REV=`LC_ALL=C svn info | awk '/Last Changed Rev/ {print $$4}'`; \ | |
44 | 42 | ditto -ck -rsrc --keepParent $(APP) $(APP_NAME)-$(VERSION)-$${REV}.zip |
45 | 43 | |
46 | 44 | updateRevision: update_svn |
47 | - if [ ! -f $(INFO_PLIST).bak ] ; then cp $(INFO_PLIST) $(INFO_PLIST).bak ; fi ; \ | |
48 | - export LC_ALL=C; \ | |
49 | - REV=`svn info | awk '/Last Changed Rev/ {print $$4}'` ; \ | |
45 | + cp $(INFO_PLIST) $(INFO_PLIST).bak ; \ | |
46 | + REV=`LC_ALL=C svn info | awk '/Last Changed Rev/ {print $$4}'` ; \ | |
50 | 47 | sed -e "s/%%%%REVISION%%%%/$${REV}/" $(INFO_PLIST) > $(INFO_PLIST).r ; \ |
51 | 48 | mv -f $(INFO_PLIST).r $(INFO_PLIST) ; \ |
52 | 49 | |
53 | 50 | restorInfoPlist: |
54 | - if [ -f $(INFO_PLIST).bak ] ; then cp -f $(INFO_PLIST).bak $(INFO_PLIST) ; fi | |
51 | + if [ -f $(INFO_PLIST).bak ] ; then mv -f $(INFO_PLIST).bak $(INFO_PLIST) ; fi | |
55 | 52 | |
56 | 53 | update_svn: |
57 | 54 | svn up |