diff options
author | Manoj Srivastava <srivasta@golden-gryphon.com> | 2014-05-14 23:46:05 -0700 |
---|---|---|
committer | Manoj Srivastava <srivasta@golden-gryphon.com> | 2014-05-14 23:46:05 -0700 |
commit | 986b7742bf244b4073ecca0723615f70be8a1ab6 (patch) | |
tree | ffd9e6d9f8cc92ad65080a942d68af1a86731298 /src | |
parent | b4456969cd02d75c599a5b86b225c0774697e85d (diff) |
[debian-cmake-fixes]: Change install paths to FHS compliant games
So the binary lives in /usr/games/tome, instead of /usr/bin/tome
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e2e62644..932fef4b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,9 +4,9 @@ ADD_SUBDIRECTORY(lua) SET(SRCS main-gcu.c main-x11.c main-xaw.c main-sdl.c main-gtk2.c z-rand.c z-util.c z-form.c z-virt.c z-term.c - variable.c tables.c plots.c util.c cave.c dungeon.c - melee1.c melee2.c modules.c - object1.c object2.c randart.c squeltch.c traps.c + variable.c tables.c plots.c util.c cave.c dungeon.c + melee1.c melee2.c modules.c + object1.c object2.c randart.c squeltch.c traps.c monster1.c monster2.c monster3.c xtra1.c xtra2.c skills.c powers.c gods.c spells1.c spells2.c @@ -15,7 +15,7 @@ SET(SRCS help.c generate.c gen_maze.c gen_evol.c wild.c levels.c store.c bldg.c cmovie.c - wizard2.c init2.c birth.c wizard1.c init1.c main.c + wizard2.c init2.c birth.c wizard1.c init1.c main.c # Lua bits: lua_bind.c script.c w_mnster.c w_player.c w_play_c.c w_z_pack.c w_obj.c w_util.c w_spells.c w_quest.c w_dun.c @@ -68,5 +68,5 @@ TARGET_LINK_LIBRARIES(tome lua ${LIBS}) # Installation INSTALL(TARGETS tome - RUNTIME DESTINATION bin + RUNTIME DESTINATION games ) |