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
@@ -7,7 +7,7 @@ ufile.c check_tree.c info.c super.c fsck.h
man_MANS = reiserfsck.8
EXTRA_DIST = $(man_MANS)
reiserfsck_LDADD = $(top_srcdir)/reiserfscore/libcore.a $(top_srcdir)/lib/libmisc.a
reiserfsck_LDADD = $(top_builddir)/reiserfscore/libcore.a $(top_builddir)/lib/libmisc.a
install-exec-hook:
$(LN_S) reiserfsck $(DESTDIR)$(sbindir)/fsck.reiserfs