]> git.sesse.net Git - vlc/commitdiff
wl_screenshooter: fix Makefile dependencies
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 1 Oct 2014 16:41:32 +0000 (19:41 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 1 Oct 2014 17:36:19 +0000 (20:36 +0300)
modules/access/Makefile.am

index f536b7bb5281ae4827e1fa8dd247463b98e0ec1f..f632a3f7ac978a68c5b3375df0e9bf9d8b02ad02 100644 (file)
@@ -198,8 +198,6 @@ if HAVE_XCB
 access_LTLIBRARIES += libxcb_screen_plugin.la
 endif
 
-libwl_screenshooter_plugin_la_DEPENDENCIES = \
-       access/screen/screenshooter-client-protocol.h
 libwl_screenshooter_plugin_la_SOURCES = \
        access/screen/wayland.c
 nodist_libwl_screenshooter_plugin_la_SOURCES = \
@@ -211,6 +209,7 @@ libwl_screenshooter_plugin_la_LIBADD = $(WAYLAND_CLIENT_LIBS) \
 EXTRA_DIST += access/screen/screenshooter.xml
 CLEANFILES += $(nodist_libwl_screenshooter_plugin_la_SOURCES)
 if HAVE_WAYLAND
+BUILT_SOURCES += access/screen/screenshooter-client-protocol.h
 access_LTLIBRARIES += libwl_screenshooter_plugin.la
 endif