updated "dist" Makefile target to use cp instead of svn export; added dist to .hgignore

This commit is contained in:
Josh Holtrop 2010-12-19 00:11:34 -05:00
parent 4d726dbf62
commit 66b0bd3da5
2 changed files with 3 additions and 2 deletions

View File

@ -4,3 +4,4 @@ glob:*.o
^anaglym$ ^anaglym$
^sdl_keymap.cc$ ^sdl_keymap.cc$
^sdl_keymap.h$ ^sdl_keymap.h$
glob:dist

View File

@ -113,8 +113,8 @@ sdl_keymap.cc: gen-sdl-keymap.pl
dist: all dist: all
-rm -rf $@ -rm -rf $@
-mkdir -p $@ -mkdir -p $@
svn export lib $@/lib cp -a lib $@/lib
svn export doc $@/doc cp -a doc $@/doc
cp $(TARGET) $@ cp $(TARGET) $@
ifeq ($(PLATFORM),PLATFORM_WINDOWS) ifeq ($(PLATFORM),PLATFORM_WINDOWS)
# copy DLLs to distribution directory # copy DLLs to distribution directory