summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-07-04 11:12:05 +0300
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-07-04 11:12:05 +0300
commitf3144bc72a0eac15617955c5450402f40b36b596 (patch)
treee880ff98ed96145acbfe3217ce16cf645d4e42b8 /data/Makefile.am
parent70c83d2af570a81ee6967cfc6d1352a968bf8d71 (diff)
downloadrygel-f3144bc72a0eac15617955c5450402f40b36b596.tar.gz
core: Templates for config file
Config file is now generated from one of the templates. This the equivalent of gconf schemas.
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 3e0934ff..02646581 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,11 +3,15 @@ SUBDIRS = xml
schemadir = @GCONF_SCHEMA_FILE_DIR@
if ENABLE_MAEMO
schema_DATA = rygel-maemo.schemas
+configfile = rygel-default.conf
else
schema_DATA = rygel.schemas
+configfile = rygel-maemo.conf
endif
sysconf_DATA = rygel.conf
+$(sysconf_DATA): $(configfile) Makefile
+ cp $(configfile) $@
shareddir = $(datadir)/rygel