Files
reiserfsprogs/debugreiserfs/Makefile.am
T
Jeff Mahoney 1f028bced7 man: create links to common-prefix command names
We create links like fsck.reiserfs to reiserfsck but don't provide
the corresponding links to the man pages.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
2013-07-01 14:50:36 -04:00

13 lines
467 B
Makefile

sbin_PROGRAMS = debugreiserfs
debugreiserfs_SOURCES = debugreiserfs.c pack.c unpack.c stat.c corruption.c scan.c recover.c debugreiserfs.h
man_MANS = debugreiserfs.8
EXTRA_DIST = $(man_MANS)
LDADD = $(top_builddir)/reiserfscore/libcore.a $(top_builddir)/lib/libmisc.a
install-exec-hook:
$(LN_S) debugreiserfs $(DESTDIR)$(sbindir)/debugfs.reiserfs
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man8
$(LN_S) debugreiserfs.8 $(DESTDIR)$(mandir)/man8/debugfs.reiserfs.8