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>
11 lines
264 B
Makefile
11 lines
264 B
Makefile
sbin_PROGRAMS = mkreiserfs
|
|
|
|
mkreiserfs_SOURCES = mkreiserfs.c
|
|
man_MANS = mkreiserfs.8
|
|
EXTRA_DIST = $(man_MANS)
|
|
|
|
LDADD = $(top_builddir)/reiserfscore/libcore.a $(top_builddir)/lib/libmisc.a
|
|
|
|
install-exec-hook:
|
|
$(LN_S) mkreiserfs $(DESTDIR)$(sbindir)/mkfs.reiserfs
|