summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-01-25 12:08:01 +0100
committerAlexander Larsson <alexl@redhat.com>2010-01-25 12:08:01 +0100
commit0111f0c8a6a23816aa2f36fa03275eb441df2941 (patch)
treea861f4640b00d581a5294cc2220d65bb9234c4e8
parent414deedc39c8a9147a4f354c77b907eb6168baef (diff)
downloadgvfs-0111f0c8a6a23816aa2f36fa03275eb441df2941.tar.gz
Fix dist issue1.5.2
We need to always know how to build the hal-marshal.[ch] files and that they are BUILD_SOURCES because otherwise we can't dist if hal is disabled.
-rw-r--r--monitor/gphoto2/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/monitor/gphoto2/Makefile.am b/monitor/gphoto2/Makefile.am
index adb6bc17..80fc4249 100644
--- a/monitor/gphoto2/Makefile.am
+++ b/monitor/gphoto2/Makefile.am
@@ -3,10 +3,6 @@ NULL =
libexec_PROGRAMS = gvfs-gphoto2-volume-monitor
-if USE_GUDEV
-gvfs_gphoto2_volume_monitor_SOURCES =
-
-else
BUILT_SOURCES = \
hal-marshal.h hal-marshal.c
@@ -16,6 +12,11 @@ hal-marshal.h: hal-marshal.list
hal-marshal.c: hal-marshal.list
$(AM_V_GEN) echo "#include \"hal-marshal.h\"" > $@ && glib-genmarshal $< --prefix=hal_marshal --body >> $@
+
+if USE_GUDEV
+gvfs_gphoto2_volume_monitor_SOURCES =
+
+else
gvfs_gphoto2_volume_monitor_SOURCES = \
hal-utils.c hal-utils.h \
hal-marshal.c hal-marshal.h \