reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] install standard {fsck,mkfs}.reiserfs symlinks
@ 2009-01-17 16:19 Mike Frysinger
       [not found] ` <507595E5.8050409@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2009-01-17 16:19 UTC (permalink / raw)
  To: reiserfs-devel

Since utilities expect to be able to run `mkfs.$FS` and `fsck.$FS`,
reiserfs should install symlinks for these to the right place.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 fsck/Makefile.am       |    2 ++
 mkreiserfs/Makefile.am |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/fsck/Makefile.am b/fsck/Makefile.am
index 7b1013c..f2f0d9a 100644
--- a/fsck/Makefile.am
+++ b/fsck/Makefile.am
@@ -9,3 +9,5 @@ EXTRA_DIST = $(man_MANS)
 
 reiserfsck_LDADD = $(top_srcdir)/reiserfscore/libcore.a $(top_srcdir)/lib/libmisc.a
 
+install-exec-hook:
+	$(LN_S) reiserfsck $(DESTDIR)$(sbindir)/fsck.reiserfs
diff --git a/mkreiserfs/Makefile.am b/mkreiserfs/Makefile.am
index 72cd707..aed0cfa 100644
--- a/mkreiserfs/Makefile.am
+++ b/mkreiserfs/Makefile.am
@@ -6,3 +6,5 @@ EXTRA_DIST = $(man_MANS)
 
 LDADD = $(top_srcdir)/reiserfscore/libcore.a $(top_srcdir)/lib/libmisc.a
 
+install-exec-hook:
+	$(LN_S) mkreiserfs $(DESTDIR)$(sbindir)/mkfs.reiserfs
-- 
1.6.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-11 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-17 16:19 [PATCH] install standard {fsck,mkfs}.reiserfs symlinks Mike Frysinger
     [not found] ` <507595E5.8050409@gmail.com>
2012-10-11 15:54   ` Fwd: " Jeff Mahoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).