[gobject-introspection] tests: Remove duplicate specification of CPPFLAGS for Regress



commit 3b6de4492d03e69bb29b09b4b1db9960cee9c7d0
Author: Colin Walters <walters verbum org>
Date:   Wed Mar 6 12:13:24 2013 -0500

    tests: Remove duplicate specification of CPPFLAGS for Regress
    
    Previous commit introduced the flaw.

 tests/scanner/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
index 773a221..d3f2c6c 100644
--- a/tests/scanner/Makefile.am
+++ b/tests/scanner/Makefile.am
@@ -34,7 +34,7 @@ libregress_la_SOURCES = \
        $(srcdir)/foo.c $(srcdir)/foo.h \
        $(srcdir)/drawable.c $(srcdir)/drawable.h \
        $(NULL)
-REGRESS_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f"
+REGRESS_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings '%s' '%f'"
 libregress_la_CPPFLAGS = -DREGRESS_PRINT_PREVIEW_COMMAND=\"$(REGRESS_PRINT_PREVIEW_COMMAND)\"
 libregress_la_LIBADD = $(GIO_LIBS)
 if HAVE_CAIRO
@@ -87,7 +87,7 @@ if HAVE_CAIRO
 Regress_1_0_gir_INCLUDES += cairo-1.0 
 endif
 Regress_1_0_gir_FILES = $(libregress_la_SOURCES)
-Regress_1_0_gir_SCANNERFLAGS = --c-include="regress.h" --warn-error $(libregress_la_CPPFLAGS)
+Regress_1_0_gir_SCANNERFLAGS = --c-include="regress.h" --warn-error
 GIRS += Regress-1.0.gir
 
 WarnLib-1.0.gir: $(top_builddir)/Gio-2.0.gir libwarnlib.la


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]