]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
fix Q3Pack support
authorrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 15 Sep 2008 14:35:15 +0000 (14:35 +0000)
committerrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 15 Sep 2008 14:35:15 +0000 (14:35 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@47 61c419a2-8eb2-4b30-bcec-8cead039b335

Makefile

index f9869502334c220f8cf6fb47d45e41cb358f1601..a78411cf717ffc277b9b9214d9b8673509d5f189 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -714,8 +714,12 @@ makeversion:
 .PHONY: install-data
 install-data:
        $(MKDIR) install/games
+       $(FIND) install/ -name .svn -exec $(RM_R) {} \; -prune; \
        set -ex; \
        for GAME in games/*; do \
+               if [ -d "$$GAME/tools" ]; then \
+                       GAME=$$GAME/tools; \
+               fi; \
                for GAMEFILE in $$GAME/games/*.game; do \
                        $(CP) "$$GAMEFILE" install/games/; \
                done; \