Files
reiserfsprogs/fsck/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

16 lines
539 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
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man8
$(LN_S) reiserfsck.8 $(DESTDIR)$(mandir)/man8/fsck.reiserfs.8