]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
add warning for missing game packs
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 13 Jan 2010 14:37:46 +0000 (14:37 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 13 Jan 2010 14:37:46 +0000 (14:37 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@419 61c419a2-8eb2-4b30-bcec-8cead039b335

Makefile

index eb164622bbc270b4aa288ef67fa6b133ae1da42f..e0de1809b1bfe740d4963e7438f23238ca8a2bfa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -958,6 +958,10 @@ install-data: binaries
        [ "$(OS)" != "Darwin" ] || $(CP_R) setup/data/osx/NetRadiant.app/* $(INSTALLDIR_BASE)/NetRadiant.app/
        set -ex; \
        for GAME in games/*; do \
+               if [ x"$$GAME" = x"games/*" ]; then \
+                       echo; echo "*** NO GAME PACKS FOUND ***"; echo "Please run download-gamepacks.sh and try again."; echo; echo; \
+                       continue; \
+               fi; \
                if [ -d "$$GAME/tools" ]; then \
                        GAME=$$GAME/tools; \
                fi; \