diff --git a/Makefile b/Makefile index a7f891f..c5db390 100644 --- a/Makefile +++ b/Makefile @@ -92,12 +92,11 @@ sdl_keymap.cc: gen-sdl-keymap.pl .PHONY: dist dist: all -mkdir -p $@ - cp -a lib $@ -# I didn't want to rely on 'rsync' being available to exclude .svn folders -# or svn being available to properly export directories... - find $@ -depth -name '.svn' -exec rm -rf {} ';' + svn export lib $@/lib + svn export doc $@/doc cp $(TARGET) $@ ifeq ($(WINDOWS),1) +# copy DLLs to distribution directory cp -a $(shell which SDL.dll) $@ cp -a $(shell which SDL_image.dll) $@ # jh 2009-10-29 statically linking with ODE now