summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-06-12 11:10:44 +0100
committerDavid Zeuthen <davidz@redhat.com>2009-06-17 17:41:47 -0400
commit5a6c0d4ef9918f61251ee2c04d3ec372d64ddbf0 (patch)
treebfe0fb7fc9d59501dbba8dc0eed1aac5e38d6254
parent97abc2c5cf4f4774ef67f38976a2d4c681bcccdf (diff)
Install an empty default config file
So the directory can be tracked by packages, SELinux labels installed, and the daemon can write its updated config somewhere.
-rw-r--r--data/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 7033fa3..ed22410 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -19,6 +19,12 @@ $(dbusconf_DATA): $(dbusconf_in_files) Makefile
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xdg-hostname-gobject-1.pc
+defaultconfdir= $(sysconfdir)/xdg/hostname-1/
+defaultconf_DATA = hostname
+
+hostname: Makefile
+ touch $(builddir)/hostname
+
CLEANFILES = $(BUILT_SOURCES) $(pkgconfig_DATA)
EXTRA_DIST = org.freedesktop.Hostname1.xml $(service_in_files) $(dbusconf_in_files)