src/CMakeLists.txt
changeset 26 767f79e69de1
parent 25 a0fad312ea30
child 31 bbcb8a3366b4
equal deleted inserted replaced
25:a0fad312ea30 26:767f79e69de1
    18 # Target Definitions
    18 # Target Definitions
    19 ADD_EXECUTABLE(mcbot compat.c config.c database.c irc.c main.c parse.c)
    19 ADD_EXECUTABLE(mcbot compat.c config.c database.c irc.c main.c parse.c)
    20 ADD_EXECUTABLE(dbtool database.c dbtool.c)
    20 ADD_EXECUTABLE(dbtool database.c dbtool.c)
    21 
    21 
    22 # Install Rules
    22 # Install Rules
    23 INSTALL(TARGETS mcbot RUNTIME DESTINATION sbin)
    23 INSTALL(TARGETS mcbot RUNTIME DESTINATION /usr/sbin)
    24 INSTALL(TARGETS dbtool RUNTIME DESTINATION bin)
    24 INSTALL(TARGETS dbtool RUNTIME DESTINATION /usr/bin)
    25 INSTALL(DIRECTORY ../locale/ DESTINATION /var/lib/nobody/data/locale)
    25 INSTALL(DIRECTORY ../locale/ DESTINATION /var/lib/nobody/data/locale)
    26 INSTALL(PROGRAMS ../scripts/runbot DESTINATION /etc/init.d/ 
    26 INSTALL(PROGRAMS ../scripts/runbot DESTINATION /etc/init.d/ 
    27 	RENAME mcbot)
    27 	RENAME mcbot)
    28 INSTALL(PROGRAMS ../scripts/mcbot.cgi DESTINATION /usr/lib/cgi-bin/)
    28 INSTALL(PROGRAMS ../scripts/mcbot.cgi DESTINATION /usr/lib/cgi-bin/)
    29 
    29