Changeset 1075 for trunk/mk


Ignore:
Timestamp:
Nov 11, 2006, 2:02:44 AM (15 years ago)
Author:
titer
Message:

Clean up, generate Info.plist from version.sh as well

Location:
trunk/mk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mk/osx.mk

    r436 r1075  
    22
    33#
    4 # Update Info.plist with the version from version.mk
     4# Use Xcode do make the actual build
    55#
    6 include mk/version.mk
    7 macosx/Info.plist: macosx/Info.plist.in mk/version.mk
    8         $(RM) $@
    9         sed -e "s/%%BUNDLE_VERSION%%/$(VERSION_REVISION)/g" \
    10           -e "s/%%SHORT_VERSION_STRING%%/$(VERSION_STRING)/g" < $< > $@
    11 
    12 #
    13 # Then use Xcode do make the actual build
    14 #
    15 all: macosx/Info.plist
     6all:
    167        @xcodebuild -alltargets -activeconfiguration | grep -v "^$$"
    178clean:
    189        @xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$"
    19         $(RM) macosx/Info.plist
    2010
    2111
     
    2414# Check if this is a release or an SVN build
    2515#
     16include mk/version.mk
    2617ifeq ($(VERSION_STRING),$(VERSION_MAJOR).$(VERSION_MINOR))
    2718VERSION_PACKAGE = $(VERSION_STRING)
Note: See TracChangeset for help on using the changeset viewer.