From: Thomas Debesse <dev@illwieckz.net>
Date: Tue, 23 Jul 2019 02:07:14 +0000 (+0200)
Subject: rename game_packs target to gamepacks
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F142%2Fhead;p=xonotic%2Fnetradiant.git

rename game_packs target to gamepacks
---

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a414aa1..b93ced26 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -313,7 +313,7 @@ set(GAMEPACKS_LICENSE_LIST free CACHE STRING "Download game packs by license")
 set(GAMEPACKS_NAME_LIST none CACHE STRING "Download game packs by name")
 
 if (DOWNLOAD_GAMEPACKS)
-    add_custom_target(game_packs ALL
+    add_custom_target(gamepacks ALL
        COMMAND "${PROJECT_SOURCE_DIR}/gamepack-manager" --license ${GAMEPACKS_LICENSE_LIST} --name ${GAMEPACKS_NAME_LIST} --download-dir "${GAMEPACKS_DOWNLOAD_DIR}" --install-dir "${PROJECT_BINARY_DIR}/gamepacks" --download --install
        COMMENT "Downloading game packs"
     )
diff --git a/README.md b/README.md
index 67eecb83..d977c242 100644
--- a/README.md
+++ b/README.md
@@ -150,7 +150,7 @@ options:
 
 target:
 
-* `game_packs` Downloads the game pack data
+* `gamepacks` Downloads the game pack data
 
 Run `./gamepacks-manager -h` to know about available licenses and other available games. Both lists are merged, for example setting `GAMEPACKS_LICENSE_LIST=GPL` and `GAMEPACKS_NAME_LIST=Q3` will install both GPL gamepacks and proprietary Quake 3 one.