From 1fe81ff898aaa9bb282718aa0e02a4e916ba4b73 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 16 Nov 2009 17:15:28 +0000 Subject: [PATCH] Changed Makefile to use 'svn export' instead of copying and removing .svn folders; Added 'doc' folder which will eventually contain documentation for Lua interfaces git-svn-id: svn://anubis/anaglym/trunk@176 99a6e188-d820-4881-8870-2d33a10e2619 --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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