fix out of tree builds

This allows you to build out of tree like:
	mkdir build
	../configure
	make

This also fixes `make distcheck` since that uses the above mechanism.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
Mike Frysinger authored and Jeff Mahoney committed 2012-10-30 17:51:42 -04:00
1 parent ecb8f6ed3c
commit 90d328136c
7 files changed
+8 -11

No files matched your search

+1 -1
View File
@@ -4,4 +4,4 @@ debugreiserfs_SOURCES = debugreiserfs.c pack.c unpack.c stat.c corruption.c scan
man_MANS = debugreiserfs.8
EXTRA_DIST = $(man_MANS)
LDADD = $(top_srcdir)/reiserfscore/libcore.a $(top_srcdir)/lib/libmisc.a
LDADD = $(top_builddir)/reiserfscore/libcore.a $(top_builddir)/lib/libmisc.a