ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit f82b11bde4a2d606e2d084485ea9d4f51ce44b32
parent 58776e732785c58569d98fc38cc380dc5a3d9509
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue Jun 17 21:44:06 +0200

ntfs3g: fix installing man pages

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
ntfs3g/ntfs3g.mk | 15+++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/ntfs3g/ntfs3g.mk b/ntfs3g/ntfs3g.mk @@ -18,14 +18,25 @@ INSTALL_BIN = \ ntfsprogs/ntfsresize \ ntfsprogs/ntfsundelete -INSTALL_MAN8 = `{ ls -1 src/*.8; ls -1 ntfsprogs/*.8 } INSTALL_SYMLINK = \ mkntfs /bin/mkfs.ntfs \ lowntfs-3g /bin/mount.lowntfs-3g \ - ntfs-3g /bin/mount.ntfs-3g + ntfs-3g /bin/mount.ntfs-3g <$mkbuild/mk.common +# man pages are suffixed with .in, so copy those manually. +installman8:QV: + i=8 + mkdir -p ${ROOT}${PREFIX}$MANDIR/man$i + for f in ` ls -1 src/*.8.in; ls -1 ntfsprogs/*.$i.in`; do + fn=`basename $f | sed 's@.in$@@g'` + echo INSTALL ${ROOT}${PREFIX}$MANDIR/man$i/$fn + $INSTALL -m 755 $f ${ROOT}${PREFIX}$MANDIR/man$i/$fn + done + +install_man: installman8 + ntfs3g:QV: ./configure \ --prefix="$PREFIX" \