Whoops, I forgot to add the appendix for the Makefile containing
authorJoey Schulze <joey@infodrom.org>
Tue, 25 Sep 2001 15:07:20 +0000 (15:07 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 25 Sep 2001 15:07:20 +0000 (15:07 +0000)
definitions for the database connection...

Styles/infodrom.style

index be0899e..59c5cd9 100644 (file)
@@ -9,3 +9,20 @@
 <define-tag bar-textcolor><white></define-tag>
 
 #include <service.style>
+
+<ifeq "$(WML_GEN_HOSTNAME)" "finlandia" "
+   <define-tag dbhost>kuolema</define-tag>
+   <define-tag dbport>5432</define-tag>
+   <define-tag dbname>web</define-tag>
+">
+<ifeq "$(WML_GEN_HOSTNAME)" "luonnotar" "
+   <define-tag dbhost></define-tag>
+   <define-tag dbport></define-tag>
+   <define-tag dbname>web</define-tag>
+">
+
+<:
+  if (substr ("<dbname>", 0, 1) eq "<") {
+    print  STDERR "Unknown build host, fix infodrom.style.\n";
+  }
+:>