summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-16 20:34:21 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-16 20:34:21 +0000
commit0ba00dceb21c894cb172522a394233d45181af5b (patch)
tree76162dc02740c120492b7d5207a0dcfd8f3d64b3 /data
parent464158b22f42461d12627ebf851281b3f598611a (diff)
- dalsi krok prechodu na nove cmake + pridany prvky gettextu
git-svn-id: http://opensvn.csie.org/tuxanci_ng@199 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt23
-rw-r--r--data/arena/CMakeLists.txt13
-rw-r--r--data/conf/CMakeLists.txt14
-rw-r--r--data/font/CMakeLists.txt13
-rw-r--r--data/image/CMakeLists.txt13
-rw-r--r--data/lang/CMakeLists.txt21
-rw-r--r--data/music/CMakeLists.txt15
-rw-r--r--data/sound/CMakeLists.txt15
8 files changed, 121 insertions, 6 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
new file mode 100644
index 0000000..3b103c9
--- /dev/null
+++ b/data/CMakeLists.txt
@@ -0,0 +1,23 @@
+###############################################################################
+# tuxanci/data/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+ADD_SUBDIRECTORY ( arena )
+ADD_SUBDIRECTORY ( conf )
+ADD_SUBDIRECTORY ( font )
+ADD_SUBDIRECTORY ( image )
+ADD_SUBDIRECTORY ( lang )
+ADD_SUBDIRECTORY ( music )
+ADD_SUBDIRECTORY ( sound )
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+IF ( NOT Server )
+ INSTALL ( FILES tuxanci.desktop DESTINATION doc/${APPNAME}-${VERSION}/)
+ IF ( NOT Win )
+ INSTALL ( FILES tuxanci.ico
+ DESTINATION doc/${APPNAME}-${VERSION}/)
+ ENDIF ( NOT Win )
+ENDIF ( NOT Server )
+############################################################################### \ No newline at end of file
diff --git a/data/arena/CMakeLists.txt b/data/arena/CMakeLists.txt
new file mode 100644
index 0000000..36cdae3
--- /dev/null
+++ b/data/arena/CMakeLists.txt
@@ -0,0 +1,13 @@
+###############################################################################
+# tuxanci/data/arena/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+# nada :P
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+FILE ( GLOB files "*.map" )
+INSTALL ( FILES ${files}
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/arena/ )
+############################################################################### \ No newline at end of file
diff --git a/data/conf/CMakeLists.txt b/data/conf/CMakeLists.txt
new file mode 100644
index 0000000..df336b4
--- /dev/null
+++ b/data/conf/CMakeLists.txt
@@ -0,0 +1,14 @@
+###############################################################################
+# tuxanci/data/conf/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+# nada :P
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+IF ( Server )
+ INSTALL ( FILES server.conf
+ DESTINATION ${CMAKE_INSTALL_ETCDIR}/${APPNAME} )
+ENDIF ( Server )
+############################################################################### \ No newline at end of file
diff --git a/data/font/CMakeLists.txt b/data/font/CMakeLists.txt
new file mode 100644
index 0000000..3c9e283
--- /dev/null
+++ b/data/font/CMakeLists.txt
@@ -0,0 +1,13 @@
+###############################################################################
+# tuxanci/data/font/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+# nada :P
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+FILE ( GLOB files "*.ttf" )
+INSTALL ( FILES ${files}
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/font/ )
+############################################################################### \ No newline at end of file
diff --git a/data/image/CMakeLists.txt b/data/image/CMakeLists.txt
new file mode 100644
index 0000000..4d428a1
--- /dev/null
+++ b/data/image/CMakeLists.txt
@@ -0,0 +1,13 @@
+###############################################################################
+# tuxanci/data/images/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+# nada :P
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+FILE ( GLOB files "*.png" )
+INSTALL ( FILES ${files}
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/images/ )
+############################################################################### \ No newline at end of file
diff --git a/data/lang/CMakeLists.txt b/data/lang/CMakeLists.txt
index 17feca8..749a747 100644
--- a/data/lang/CMakeLists.txt
+++ b/data/lang/CMakeLists.txt
@@ -1,6 +1,15 @@
-# vyroba jazyku pomoci gettexu doufam ze na nej prejdem
-IF ( HAVE_GETTEXT )
- INCLUDE( Po )
- COMPILE_PO_FILES( ${CMAKE_SOURCE_DIR}/po MO_FILES )
- ADD_CUSTOM_TARGET( mofiles ALL DEPENDS ${MO_FILES} )
-ENDIF ( HAVE_GETTEXT )
+###############################################################################
+# tuxanci/data/sound/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+# nada :P
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+IF ( NOT NO_Audio )
+ FILE ( GLOB files "*.lang" )
+ INSTALL ( FILES ${files}
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/lang/ )
+ENDIF ( NOT NO_Audio )
+############################################################################### \ No newline at end of file
diff --git a/data/music/CMakeLists.txt b/data/music/CMakeLists.txt
new file mode 100644
index 0000000..cce6972
--- /dev/null
+++ b/data/music/CMakeLists.txt
@@ -0,0 +1,15 @@
+###############################################################################
+# tuxanci/data/music/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+# nada :P
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+IF ( NOT NO_Audio )
+ FILE ( GLOB files "*.ogg" )
+ INSTALL ( FILES ${files}
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/sound/ )
+ENDIF ( NOT NO_Audio )
+############################################################################### \ No newline at end of file
diff --git a/data/sound/CMakeLists.txt b/data/sound/CMakeLists.txt
new file mode 100644
index 0000000..9e60aa7
--- /dev/null
+++ b/data/sound/CMakeLists.txt
@@ -0,0 +1,15 @@
+###############################################################################
+# tuxanci/data/sound/CMakeLists.txt
+###############################################################################
+# DIRECTORIES
+###############################################################################
+# nada :P
+###############################################################################
+# CURRENT DIRECTORY FILES
+###############################################################################
+IF ( NOT NO_Audio )
+ FILE ( GLOB files "*.ogg" )
+ INSTALL ( FILES ${files}
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/sound/ )
+ENDIF ( NOT NO_Audio )
+############################################################################### \ No newline at end of file