diff --git a/src/gdu/Makefile.am b/src/gdu/Makefile.am
index 7bd608e..307ba99 100644
--- a/src/gdu/Makefile.am
+++ b/src/gdu/Makefile.am
@@ -10,11 +10,11 @@ gdu-marshal.h: gdu-marshal.list
 gdu-marshal.c: gdu-marshal.list
 	echo "#include \"gdu-marshal.h\"" > $@ && glib-genmarshal $< --prefix=gdu_marshal --body >> $@
 
-devkit-disks-daemon-glue.h: /usr/share/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.xml Makefile.am
-	dbus-binding-tool --prefix=devkit_disks_daemon --mode=glib-client --output=devkit-disks-daemon-glue.h /usr/share/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.xml
+devkit-disks-daemon-glue.h: $(datadir)/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.xml Makefile.am
+	dbus-binding-tool --prefix=devkit_disks_daemon --mode=glib-client --output=devkit-disks-daemon-glue.h $(datadir)/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.xml
 
-devkit-disks-device-glue.h: /usr/share/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.Device.xml Makefile.am
-	dbus-binding-tool --prefix=devkit_disks_daemon --mode=glib-client --output=devkit-disks-device-glue.h /usr/share/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.Device.xml
+devkit-disks-device-glue.h: $(datadir)/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.Device.xml Makefile.am
+	dbus-binding-tool --prefix=devkit_disks_daemon --mode=glib-client --output=devkit-disks-device-glue.h $(datadir)/dbus-1/interfaces/org.freedesktop.DeviceKit.Disks.Device.xml
 
 lib_LTLIBRARIES=libgdu.la
 
