diff --git a/Rakefile b/Rakefile index 4bd3dd4..68125e0 100644 --- a/Rakefile +++ b/Rakefile @@ -2,7 +2,7 @@ require 'pathname' def release_version return @release_version if @release_version - version_file = Pathname.new('wincent-icon-util_Version.h').read + version_file = Pathname.new('wincent-icon-util-version.h').read version_line = version_file.lines.find do |line| line =~ /\A#define\s+WO_INFO_PLIST_VERSION\s+(.+)\s*\z/ end or raise "could not find version number" diff --git a/wincent-icon-util_Version.h b/wincent-icon-util-version.h similarity index 100% rename from wincent-icon-util_Version.h rename to wincent-icon-util-version.h diff --git a/wincent-icon-util.m b/wincent-icon-util.m index 59f685e..5a70734 100644 --- a/wincent-icon-util.m +++ b/wincent-icon-util.m @@ -29,7 +29,7 @@ #pragma mark - #pragma mark Embedded information for what(1) -#import "wincent-icon-util_Version.h" +#import "wincent-icon-util-version.h" WO_SET_RCSID_STRING("Wincent Icon Utility", productname); WO_SET_RCSID_STRING("Version: " WO_MARKETING_VERSION, version); diff --git a/wincent-icon-util.xcodeproj/project.pbxproj b/wincent-icon-util.xcodeproj/project.pbxproj index 6cc7ad1..859ffcf 100644 --- a/wincent-icon-util.xcodeproj/project.pbxproj +++ b/wincent-icon-util.xcodeproj/project.pbxproj @@ -62,7 +62,7 @@ 8DD76FA10486AA7600D96B5E /* wincent-icon-util */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "wincent-icon-util"; sourceTree = BUILT_PRODUCTS_DIR; }; BC06224C127FFCAD007BDE49 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; BC062258127FFE60007BDE49 /* sign.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = sign.sh; sourceTree = ""; }; - BC0625F312806867007BDE49 /* wincent-icon-util_Version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "wincent-icon-util_Version.h"; sourceTree = ""; }; + BC0625F312806867007BDE49 /* wincent-icon-util-version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "wincent-icon-util-version.h"; sourceTree = ""; }; BC47976B1047E7C800092001 /* buildtools */ = {isa = PBXFileReference; lastKnownFileType = folder; path = buildtools; sourceTree = ""; }; BC47989B1047E8D000092001 /* Package.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = Package.sh; path = buildtools/Package.sh; sourceTree = ""; }; BC4798A21047E92900092001 /* LICENSE.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = LICENSE.rtf; sourceTree = ""; }; @@ -115,7 +115,7 @@ 08FB7795FE84155DC02AAC07 /* Source */ = { isa = PBXGroup; children = ( - BC0625F312806867007BDE49 /* wincent-icon-util_Version.h */, + BC0625F312806867007BDE49 /* wincent-icon-util-version.h */, 08FB7796FE84155DC02AAC07 /* wincent-icon-util.m */, ); name = Source; @@ -329,7 +329,7 @@ baseConfigurationReference = BC935B1E0C593E110017530E /* foundation-tool-target.xcconfig */; buildSettings = { INFOPLIST_FILE = Info.plist; - INFOPLIST_PREFIX_HEADER = "wincent-icon-util_Version.h"; + INFOPLIST_PREFIX_HEADER = "wincent-icon-util-version.h"; OTHER_LDFLAGS = ( "-sectcreate", __TEXT, @@ -345,7 +345,7 @@ baseConfigurationReference = BC935B1E0C593E110017530E /* foundation-tool-target.xcconfig */; buildSettings = { INFOPLIST_FILE = Info.plist; - INFOPLIST_PREFIX_HEADER = "wincent-icon-util_Version.h"; + INFOPLIST_PREFIX_HEADER = "wincent-icon-util-version.h"; OTHER_LDFLAGS = ( "-sectcreate", __TEXT,