[libdmapsharing] Fix build with --disable-tests --disable-check
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Fix build with --disable-tests --disable-check
- Date: Mon, 9 Oct 2017 20:52:53 +0000 (UTC)
commit 7b6892b1b8f22fd66bc76293f3fdadfc216bb2f4
Author: W. Michael Petullo <mike flyn org>
Date: Mon Oct 9 16:50:05 2017 -0400
Fix build with --disable-tests --disable-check
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/Makefile.am | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libdmapsharing/Makefile.am b/libdmapsharing/Makefile.am
index 5660e51..902dd09 100644
--- a/libdmapsharing/Makefile.am
+++ b/libdmapsharing/Makefile.am
@@ -107,9 +107,9 @@ noinst_HEADERS = \
dmap-gst-wav-input-stream.h \
gst-util.h
-BUILT_SOURCES = dmap-marshal.c dmap-marshal.h dmap-enums.c dmap-enums.h ../tests/unit-test.c
+BUILT_SOURCES = dmap-marshal.c dmap-marshal.h dmap-enums.c dmap-enums.h unit-test.stamp
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) ../tests/unit-test.c
dmap-marshal.c: dmap-marshal.list
@glib-genmarshal --prefix=dmap_marshal $(srcdir)/dmap-marshal.list --header --body > dmap-marshal.c
@@ -137,9 +137,10 @@ dmap-enums.h: $(libdmapsharinginclude_HEADERS) Makefile
&& sed -e "s/d_map/dmap/" -e "s/D_MAP/DMAP/" -e "s/d_acp/dacp/" -e "s/D_ACP/DACP/" $@.tmp > $@ \
&& rm -f $@.tmp
-../tests/unit-test.c: $(grep -l START_TEST *.c)
+unit-test.stamp: $(grep -l START_TEST *.c)
./generate-test-suites
mv unit-test.c ../tests
+ touch unit-test.stamp
if HAVE_INTROSPECTION
include $(INTROSPECTION_MAKEFILE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]