[gobject-introspection] build: Also use $DESTDIR for regress.[ch]



commit e2e4ee68e7127d1381292fb700ec9eb4d240ff95
Author: Colin Walters <walters verbum org>
Date:   Fri Sep 10 10:49:44 2010 -0400

    build: Also use $DESTDIR for regress.[ch]

 tests/scanner/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
index 41564a8..0fa9921 100644
--- a/tests/scanner/Makefile.am
+++ b/tests/scanner/Makefile.am
@@ -30,7 +30,7 @@ libregress_la_SOURCES = $(srcdir)/regress.c $(srcdir)/regress.h
 
 install-data-local:
 	for src in $(libregress_la_SOURCES); do \
-	  install -m 644 -D $$src $(datadir)/gobject-introspection-1.0/tests/$$src; \
+	  install -m 644 -D $$src $(DESTDIR)$(datadir)/gobject-introspection-1.0/tests/$$src; \
 	done
 
 libregress_la_CFLAGS = $(AM_CFLAGS) $(CAIRO_CFLAGS)



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