build: Use $(srcdir) when it makes sense

There are a few places which use $(top_srcdir) when $(srcdir) would be
equally valid.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2017-12-07 18:01:58 +01:00
parent c9b9a5fd35
commit 1170282cec
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ libspice_server_la_LDFLAGS = \
if HAVE_LD_VERSION_SCRIPT
libspice_server_la_LDFLAGS += \
-Wl,--version-script=$(top_srcdir)/server/spice-server.syms
EXTRA_libspice_server_la_DEPENDENCIES = $(top_srcdir)/server/spice-server.syms
-Wl,--version-script=$(srcdir)/spice-server.syms
EXTRA_libspice_server_la_DEPENDENCIES = $(srcdir)/spice-server.syms
endif
libserver_la_LIBADD = \

View File

@ -1,7 +1,7 @@
NULL =
@VALGRIND_CHECK_RULES@
VALGRIND_SUPPRESSIONS_FILES = $(top_srcdir)/server/tests/valgrind/glib.supp
VALGRIND_SUPPRESSIONS_FILES = $(srcdir)/valgrind/glib.supp
EXTRA_DIST = \
$(VALGRIND_SUPPRESSIONS_FILES) \
pki/ca-cert.pem \