# HG changeset patch # User Ryan C. Gordon # Date 1126160243 0 # Node ID 55a86cfe6277f0e7e09648891f1915f64707d3bf # Parent 609c060fd2a2e75447ad4bd406f52cc723198a07 Forgot to add this with the previous Carbon/Cocoa/X11 commit. diff -r 609c060fd2a2 -r 55a86cfe6277 src/main/macos/Makefile.am --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/macos/Makefile.am Thu Sep 08 06:17:23 2005 +0000 @@ -0,0 +1,17 @@ +# On OS X, install the SDL.rsrc. + +EXTRA_DIST = SDL_main.c SDL.rsrc + +rsrcdatadir = $(datadir)/sdl +rsrcdata_DATA = \ + SDL.rsrc + +SDL.rsrc: SDL.r + /Developer/Tools/Rez -o $@ -useDF $< + +# The rsrc and export directory need to be copied into place +# when building a distribution. +dist-hook: + cp -rp SDL.rsrc $(distdir) + cp -rp exports $(distdir) + (cd $(distdir)/exports && rm -rf `find . -name CVS`)