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>
14 lines
429 B
Makefile
14 lines
429 B
Makefile
sbin_PROGRAMS = reiserfsck
|
|
|
|
reiserfsck_SOURCES = main.c pass0.c pass1.c pass2.c semantic_check.c \
|
|
semantic_rebuild.c pass4.c lost+found.c ubitmap.c uobjectid.c ustree.c \
|
|
ufile.c check_tree.c info.c super.c fsck.h
|
|
|
|
man_MANS = reiserfsck.8
|
|
EXTRA_DIST = $(man_MANS)
|
|
|
|
reiserfsck_LDADD = $(top_builddir)/reiserfscore/libcore.a $(top_builddir)/lib/libmisc.a
|
|
|
|
install-exec-hook:
|
|
$(LN_S) reiserfsck $(DESTDIR)$(sbindir)/fsck.reiserfs
|