Don't generate sources in a subdirectory
This fixes srcdir != builddir issues.
This commit is contained in:
parent
5fa5ace5e6
commit
f0c7b518e6
@ -37,12 +37,12 @@ mutter_built_sources = \
|
|||||||
$(dbus_xrandr_built_sources) \
|
$(dbus_xrandr_built_sources) \
|
||||||
mutter-enum-types.h \
|
mutter-enum-types.h \
|
||||||
mutter-enum-types.c \
|
mutter-enum-types.c \
|
||||||
wayland/gtk-shell-protocol.c \
|
gtk-shell-protocol.c \
|
||||||
wayland/gtk-shell-server-protocol.h \
|
gtk-shell-server-protocol.h \
|
||||||
wayland/xdg-shell-protocol.c \
|
xdg-shell-protocol.c \
|
||||||
wayland/xdg-shell-server-protocol.h \
|
xdg-shell-server-protocol.h \
|
||||||
wayland/xserver-protocol.c \
|
xserver-protocol.c \
|
||||||
wayland/xserver-server-protocol.h
|
xserver-server-protocol.h
|
||||||
|
|
||||||
wayland_protocols = \
|
wayland_protocols = \
|
||||||
wayland/protocol/gtk-shell.xml \
|
wayland/protocol/gtk-shell.xml \
|
||||||
@ -410,7 +410,7 @@ $(dbus_idle_built_sources) : Makefile.am idle-monitor.xml
|
|||||||
--c-generate-object-manager \
|
--c-generate-object-manager \
|
||||||
$(srcdir)/idle-monitor.xml
|
$(srcdir)/idle-monitor.xml
|
||||||
|
|
||||||
wayland/%-protocol.c : $(srcdir)/wayland/protocol/%.xml
|
%-protocol.c : $(srcdir)/wayland/protocol/%.xml
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
||||||
wayland/%-server-protocol.h : $(srcdir)/wayland/protocol/%.xml
|
%-server-protocol.h : $(srcdir)/wayland/protocol/%.xml
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
|
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user