$(__notebook___mac_setfilecmd)
$(SAMPLES_RPATH_POSTLINK)
-notebook.app/Contents: notebook$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
+notebook.app/Contents/PkgInfo: notebook$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
mkdir -p notebook.app/Contents
mkdir -p notebook.app/Contents/MacOS
mkdir -p notebook.app/Contents/Resources
ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc notebook.app/Contents/Resources/notebook.rsrc
ln -f $(top_srcdir)/src/mac/wxmac.icns notebook.app/Contents/Resources/wxmac.icns
-@COND_PLATFORM_MACOSX_1@notebook_bundle: notebook.app/Contents
+@COND_PLATFORM_MACOSX_1@notebook_bundle: notebook.app/Contents/PkgInfo
notebook_notebook.o: $(srcdir)/notebook.cpp
$(CXXC) -c -o $@ $(NOTEBOOK_CXXFLAGS) $<