fixed creation of Info.plist file for Mac OS X

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2002-03-06 22:06:27 +00:00
parent f0c20d947b
commit 6a1c4604fc

View File

@ -53,9 +53,9 @@ clean:
#
bundle: $(BUNDLE)/Info.plist $(BUNDLE)/PkgInfo $(BUNDLE)/MacOS/$(PROGRAM) $(BUNDLE)/Resources/$(PROGRAM).rsrc $(BUNDLE)/Resources/$(PROGRAM).icns
$(BUNDLE)/Info.plist: $(top_srcdir)/src/$(TOOLKITDIR)/Info.plist.in $(BIN_PROGRA)
$(BUNDLE)/Info.plist: $(top_srcdir)/src/$(TOOLKITDIR)/Info.plist.in $(BIN_PROGRAM)
@$(INSTALL) -d `dirname $@`
sed -e "s/IDENTIFIER/`echo $(program_dir) | sed 's,/,.,'`/" \
sed -e "s/IDENTIFIER/`echo $(program_dir) | sed 's,/,.,g'`/" \
-e "s/EXECUTABLE/$(PROGRAM)/" \
-e "s/VERSION/$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)/" $< > $@