changeset 904:86c6700d1d63

2013 code ignores 'config.n3' so 2012 code can use that instead Ignore-this: 4ed3fc7943c066376ef9884643a05418
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 10 Jun 2013 06:01:58 +0000
parents bca2e8d754aa
children 741aa0f9be48
files bin/rdfdb show/dance2013/makefile
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/rdfdb	Mon Jun 10 06:00:48 2013 +0000
+++ b/bin/rdfdb	Mon Jun 10 06:01:58 2013 +0000
@@ -218,6 +218,12 @@
         # yet.
         if '-rules' in inFile:
             return
+
+        # for legacy versions, compile all the config stuff you want
+        # read into one file called config.n3. New versions won't read
+        # it.
+        if inFile.endswith("config.n3"):
+            return
             
         ctx = self.uriFromFile(inFile)
         gf = GraphFile(self.notifier, inFile, ctx,
--- a/show/dance2013/makefile	Mon Jun 10 06:00:48 2013 +0000
+++ b/show/dance2013/makefile	Mon Jun 10 06:01:58 2013 +0000
@@ -1,2 +1,6 @@
 patch.n3: patch-source.n3 patch-rules.n3
 	  cwm patch-source.n3 --filter=patch-rules.n3 --n3=/ > build/patch.n3
+
+# this only to help the 2012 tools work
+config.n3: dmxchannels.n3 networking.n3 build/patch.n3 playlist.n3
+	cat dmxchannels.n3 networking.n3 build/patch.n3 playlist.n3 > config.n3