forked from github/server
include process directory in install process, clean up install script
This commit is contained in:
parent
88f3a46142
commit
84a6e7a498
|
@ -69,6 +69,7 @@ add_subdirectory (storage)
|
||||||
add_subdirectory (iniparser)
|
add_subdirectory (iniparser)
|
||||||
add_subdirectory (quicklist)
|
add_subdirectory (quicklist)
|
||||||
add_subdirectory (critbit)
|
add_subdirectory (critbit)
|
||||||
|
add_subdirectory (process)
|
||||||
add_subdirectory (src eressea)
|
add_subdirectory (src eressea)
|
||||||
install(DIRECTORY res conf DESTINATION ${CMAKE_INSTALL_PREFIX} FILES_MATCHING PATTERN "*.xml")
|
install(DIRECTORY res conf DESTINATION ${CMAKE_INSTALL_PREFIX} FILES_MATCHING PATTERN "*.xml")
|
||||||
install(DIRECTORY res conf DESTINATION ${CMAKE_INSTALL_PREFIX} FILES_MATCHING PATTERN "*.json")
|
install(DIRECTORY res conf DESTINATION ${CMAKE_INSTALL_PREFIX} FILES_MATCHING PATTERN "*.json")
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
install(PROGRAMS create-orders backup-eressea run-turn send-zip-report
|
||||||
|
send-bz2-report compress.py compress.sh epasswd.py orders-process
|
||||||
|
orders-accept DESTINATION bin)
|
||||||
|
|
||||||
|
install(DIRECTORY cron/ DESTINATION bin USE_SOURCE_PERMISSIONS
|
||||||
|
FILES_MATCHING PATTERN "*.cron")
|
|
@ -20,13 +20,6 @@ BIN_DIR="build-$MACHINE-$CC-Debug"
|
||||||
cd $ROOT/$BIN_DIR
|
cd $ROOT/$BIN_DIR
|
||||||
make install
|
make install
|
||||||
|
|
||||||
[ -d $DEST/bin ] || mkdir -p $DEST/bin
|
|
||||||
install -v $ROOT/process/cron/*.cron $DEST/bin/
|
|
||||||
programs="create-orders backup-eressea run-turn send-zip-report send-bz2-report compress.py compress.sh"
|
|
||||||
for prg in ${programs} ; do
|
|
||||||
install -v $ROOT/process/$prg $DEST/bin/
|
|
||||||
done
|
|
||||||
|
|
||||||
# install crontab, but only on the eressea server:
|
# install crontab, but only on the eressea server:
|
||||||
# in fact, never do this, because it overwrites hand-edits
|
# in fact, never do this, because it overwrites hand-edits
|
||||||
#WHOAMI=`whoami`@`hostname`
|
#WHOAMI=`whoami`@`hostname`
|
||||||
|
|
Loading…
Reference in New Issue