<commit_before>TARG = ntfs3g
INSTALL_BIN = \
	src/lowntfs-3g \
	src/ntfs-3g \
	src/ntfs-3g.probe \
	src/ntfs-3g.secaudit \
	src/ntfs-3g.usermap \
	ntfsprogs/mkntfs \
	ntfsprogs/ntfscat \
	ntfsprogs/ntfsclone \
	ntfsprogs/ntfscluster \
	ntfsprogs/ntfscmp \
	ntfsprogs/ntfscp \
	ntfsprogs/ntfsfix \
	ntfsprogs/ntfsinfo \
	ntfsprogs/ntfslabel \
	ntfsprogs/ntfsls \
	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 

<$mkbuild/mk.common

ntfs3g:QV:
	./configure \
		--prefix="$PREFIX" \
		--mandir="$ROOT/share/man" \
		--disable-shared \
		--enable-really-static \
		--enable-mount-helper \
		--enable-static
	make -j$nprocs install \
		LDFLAGS="-all-static $LDFLAGS" DESTDIR="`pwd`/liba"<commit_msg>ntfs3g: fix installing man pages<commit_after>TARG = ntfs3g
INSTALL_BIN = \
	src/lowntfs-3g \
	src/ntfs-3g \
	src/ntfs-3g.probe \
	src/ntfs-3g.secaudit \
	src/ntfs-3g.usermap \
	ntfsprogs/mkntfs \
	ntfsprogs/ntfscat \
	ntfsprogs/ntfsclone \
	ntfsprogs/ntfscluster \
	ntfsprogs/ntfscmp \
	ntfsprogs/ntfscp \
	ntfsprogs/ntfsfix \
	ntfsprogs/ntfsinfo \
	ntfsprogs/ntfslabel \
	ntfsprogs/ntfsls \
	ntfsprogs/ntfsresize \
	ntfsprogs/ntfsundelete

INSTALL_SYMLINK = \
	mkntfs /bin/mkfs.ntfs \
	lowntfs-3g /bin/mount.lowntfs-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" \
		--mandir="$ROOT/share/man" \
		--disable-shared \
		--enable-really-static \
		--enable-mount-helper \
		--enable-static
	make -j$nprocs install \
		LDFLAGS="-all-static $LDFLAGS" DESTDIR="`pwd`/liba"
{'fraction_non_alphanumeric': 0.15996074582924436, 'fraction_numerical': 0.01815505397448479, 'mean_word_length': 3.0698602794411176, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6670836', 'n_tokens_mistral': 1013, 'n_tokens_neox': 978, 'n_words': 134}