aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-02-08 00:35:21 -0500
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-02-08 00:35:21 -0500
commite18e537cd0a26073f216d6dbde66bed8845d00c4 (patch)
treec15d4ee03f716b5ab88d464aa2f82a2b131a7951
parentAdd DTD to hostname introspection xml file, and give it a better name (diff)
downloadopenrc-settingsd-e18e537cd0a26073f216d6dbde66bed8845d00c4.tar.gz
openrc-settingsd-e18e537cd0a26073f216d6dbde66bed8845d00c4.tar.bz2
openrc-settingsd-e18e537cd0a26073f216d6dbde66bed8845d00c4.zip
Rename generated files to match dbus interface
-rw-r--r--Makefile.am8
-rw-r--r--src/hostnamed.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 6b6cb78..f2a770a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,8 +18,8 @@ LDADD = $(OPENRC_SETTINGSD_LIBS)
libexec_PROGRAMS = openrc-settingsd
hostnamed_built_sources = \
- src/hostnamed-generated.c \
- src/hostnamed-generated.h \
+ src/hostname1-generated.c \
+ src/hostname1-generated.h \
$(NULL)
openrc_settingsd_SOURCES = \
@@ -37,9 +37,9 @@ $(hostnamed_built_sources) : data/hostname1.xml
( $(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdHostnamed \
- --generate-c-code hostnamed-generated \
+ --generate-c-code hostname1-generated \
$(srcdir)/data/hostname1.xml; \
- mv hostnamed-generated.{c,h} $(top_srcdir)/src/ )
+ mv hostname1-generated.{c,h} $(top_srcdir)/src/ )
BUILT_SOURCES = $(hostnamed_built_sources)
CLEANFILES = $(hostnamed_built_sources)
diff --git a/src/hostnamed.c b/src/hostnamed.c
index 88c166e..df522c5 100644
--- a/src/hostnamed.c
+++ b/src/hostnamed.c
@@ -27,7 +27,7 @@
#include <polkit/polkit.h>
#include "hostnamed.h"
-#include "hostnamed-generated.h"
+#include "hostname1-generated.h"
#include "bus-utils.h"
#include "shell-utils.h"