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
This commit is contained in:
parent
1926668aa3
commit
1fe81ff898
7
Makefile
7
Makefile
@ -92,12 +92,11 @@ sdl_keymap.cc: gen-sdl-keymap.pl
|
|||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
dist: all
|
dist: all
|
||||||
-mkdir -p $@
|
-mkdir -p $@
|
||||||
cp -a lib $@
|
svn export lib $@/lib
|
||||||
# I didn't want to rely on 'rsync' being available to exclude .svn folders
|
svn export doc $@/doc
|
||||||
# or svn being available to properly export directories...
|
|
||||||
find $@ -depth -name '.svn' -exec rm -rf {} ';'
|
|
||||||
cp $(TARGET) $@
|
cp $(TARGET) $@
|
||||||
ifeq ($(WINDOWS),1)
|
ifeq ($(WINDOWS),1)
|
||||||
|
# copy DLLs to distribution directory
|
||||||
cp -a $(shell which SDL.dll) $@
|
cp -a $(shell which SDL.dll) $@
|
||||||
cp -a $(shell which SDL_image.dll) $@
|
cp -a $(shell which SDL_image.dll) $@
|
||||||
# jh 2009-10-29 statically linking with ODE now
|
# jh 2009-10-29 statically linking with ODE now
|
||||||
|
Loading…
x
Reference in New Issue
Block a user