cvsignore updates and forgot all the time to add data/SConscript it seems...
authorMatthias Braun <matze@braunis.de>
Thu, 25 Nov 2004 00:51:04 +0000 (00:51 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 25 Nov 2004 00:51:04 +0000 (00:51 +0000)
SVN-Revision: 2179

.cvsignore
data/SConscript [new file with mode: 0644]

index fcc2f08..747fdb9 100644 (file)
@@ -20,4 +20,8 @@ libtool
 .sconsign
 build_config.py
 build
+Jamconfig
+Jamconfig.in
+supertux
+*.exe
 
diff --git a/data/SConscript b/data/SConscript
new file mode 100644 (file)
index 0000000..31b8d6b
--- /dev/null
@@ -0,0 +1,15 @@
+import os
+Import('*')
+
+if 'install' in BUILD_TARGETS:
+    patterns = ["*.txt", "levels/*/*.stl", "levels/*/*.stwm", "levelts/*/info",
+                "sounds/*.wav", "music/*.mod", "music/*.ogg",
+                "images/*/*.jpg", "images/*/*.png", "images/*/*/*.png",
+               "images/*.xpm", "images/*.png", "images/*.strf",
+               "images/tilesets/*.stgt"]
+
+    files = []
+    for pattern in patterns:
+        files = files + Glob(pattern)
+
+    InstallData(files)