@ -77,6 +77,12 @@ weston_SOURCES = \
shared/zalloc.h \
shared/zalloc.h \
src/weston-egl-ext.h
src/weston-egl-ext.h
# Track this dependency explicitly instead of using BUILT_SOURCES. We
# add BUILT_SOURCES to CLEANFILES, but we want to keep git-version.h
# in case we're building from tarballs.
src/compositor.c : $( top_builddir ) /src /git -version .h
noinst_LTLIBRARIES += \
noinst_LTLIBRARIES += \
libsession-helper.la
libsession-helper.la
@ -99,10 +105,10 @@ libsession_helper_la_LIBADD += $(SYSTEMD_LOGIN_LIBS) $(DBUS_LIBS)
e n d i f
e n d i f
e n d i f
e n d i f
src/git-version.h : .FORCE
i f H A V E _ G I T _ R E P O
$( AM_V_GEN) ( echo " #define BUILD_ID \" $( shell git --git-dir= $( top_srcdir) /.git describe --always --dirty) $( shell git --git-dir= $( top_srcdir) /.git log -1 --format= '%s (%ci)' ) \" " > $@ -new; \
src/git-version.h : $( top_srcdir ) /.git /logs /HEAD
cmp -s $@ $@ -new || cp $@ -new $@ ; \
$( AM_V_GEN) echo " #define BUILD_ID \" $( shell git --git-dir= $( top_srcdir) /.git describe --always --dirty) $( shell git --git-dir= $( top_srcdir) /.git log -1 --format= '%s (%ci)' ) \" " > $@
rm $@ -new)
e n d i f
.FORCE :
.FORCE :
@ -339,8 +345,7 @@ BUILT_SOURCES += \
src/workspaces-server-protocol.h \
src/workspaces-server-protocol.h \
src/workspaces-protocol.c \
src/workspaces-protocol.c \
src/scaler-server-protocol.h \
src/scaler-server-protocol.h \
src/scaler-protocol.c \
src/scaler-protocol.c
src/git-version.h
i f B U I L D _ C L I E N T S
i f B U I L D _ C L I E N T S