[gobject-introspection] tests: prevent warnings with some make implementations
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] tests: prevent warnings with some make implementations
- Date: Wed, 9 Oct 2013 17:00:45 +0000 (UTC)
commit bb362a16e18f8c0c3d4049b4cf181b956a871554
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Thu Sep 19 10:20:30 2013 +0200
tests: prevent warnings with some make implementations
some make implementations don't like empty $(AM_V_GEN) rule
commands, see http://lists.gnu.org/archive/html/bug-coreutils/2009-04/msg00251.html
for more info.
tests/scanner/Makefile.am | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
index cf52eac..a1c0ecf 100644
--- a/tests/scanner/Makefile.am
+++ b/tests/scanner/Makefile.am
@@ -159,23 +159,19 @@ EXPECTED_MALLARD_DIRS = $(MALLARD_DIRS:=-expected)
CLEANFILES += $(MALLARD_CLEAN)
%-C: %.gir
- $(AM_V_GEN)
- $(AM_V_at)-rm -rf $(builddir)/$*-C
+ $(AM_V_GEN)rm -rf $(builddir)/$*-C
$(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language C $*.gir -o
$(builddir)/$*-C/
%-Python: %.gir
- $(AM_V_GEN)
- $(AM_V_at)-rm -rf $(builddir)/$*-Python
+ $(AM_V_GEN)rm -rf $(builddir)/$*-Python
$(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language Python $*.gir -o
$(builddir)/$*-Python/
%-Gjs: %.gir
- $(AM_V_GEN)
- $(AM_V_at)-rm -rf $(builddir)/$*-Gjs
+ $(AM_V_GEN)rm -rf $(builddir)/$*-Gjs
$(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language Gjs $*.gir -o
$(builddir)/$*-Gjs/
%-sections.txt: %.gir
- $(AM_V_GEN)
- $(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --write-sections-file $*.gir -o $@
+ $(AM_V_GEN)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --write-sections-file $*.gir -o $@
%-C.page.check: %-C
@diff -r -u -w -B -U 10 $(srcdir)/$*-C-expected $(builddir)/$*-C && echo " TEST $*-C"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]