Merge pull request #89 from ebassi/builddir

Builddir != srcdir fixes
This commit is contained in:
Alexander Larsson
2015-12-04 08:36:33 +01:00
2 changed files with 5 additions and 3 deletions

View File

@@ -18,7 +18,6 @@ fi
# regenerated from their corresponding *.in files by ./configure anyway.
touch INSTALL
cd "$olddir"
if ! test -f libglnx/README.md; then
git submodule update --init
fi
@@ -27,4 +26,5 @@ sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx,g < libglnx/Makefile-libglnx.am
autoreconf --force --install --verbose || exit $?
cd "$olddir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"

View File

@@ -53,7 +53,8 @@ libxdg_app_la_SOURCES = \
libxdg_app_la_CFLAGS = \
$(HIDDEN_VISIBILITY_CFLAGS) \
-DXDG_APP_COMPILATION \
-I$(srcdir)/lib \
-I$(top_srcdir)/lib \
-I$(top_builddir)/lib \
$(AM_CFLAGS) \
$(BASE_CFLAGS) \
$(OSTREE_CFLAGS) \
@@ -79,7 +80,8 @@ test_libxdg_app_SOURCES = \
test_libxdg_app_CFLAGS = \
$(BASE_CFLAGS) \
-I$(srcdir)/lib \
-I$(top_srcdir)/lib \
-I$(top_builddir)/lib \
$(NULL)
test_libxdg_app_LDADD = \