Code

Makefile.am: fixed include path for test/run_hscroll
authorMax Kellermann <max@duempel.org>
Thu, 10 Dec 2009 07:10:33 +0000 (08:10 +0100)
committerMax Kellermann <max@duempel.org>
Thu, 10 Dec 2009 07:10:33 +0000 (08:10 +0100)
Use $(srcdir) to support out-of-tree builds.

Makefile.am

index 29b7df4bf2faf2643a17740e69244f6a9e9d335e..8daa81459ccdec3556f9626427909297089e9c86 100644 (file)
@@ -167,7 +167,7 @@ check_PROGRAMS = \
        test/run_hscroll
 
 test_run_hscroll_SOURCES = test/run_hscroll.c src/hscroll.c src/charset.c
-test_run_hscroll_CPPFLAGS = -Isrc $(AM_CPPFLAGS)
+test_run_hscroll_CPPFLAGS = -I$(srcdir)/src $(AM_CPPFLAGS)
 test_run_hscroll_LDFLAGS = $(GLIB_LIBS)
 
 #