By the way, did anyone since 1998 of genromfs existence notice this > part of Makefile that may cripple your system files ?! > > install-man: > # genromfs 0.5 installed the man page in this file, > # remove it before someone notices :) > if [ -f $(PREFIX)$(bindir)/man8 ]; then \ > rm -f $(PREFIX)$(bindir)/man8; \ > fi > mkdir -p $(PREFIX)$(mandir)/man8 > install -m 644 genromfs.8 $(PREFIX)$(mandir)/man8/ > > Well I noticed that. It will not replace existing file not even delete > the single file of interest it will delete whole man pages directory > as part of install !!! Very funny :-( >
Are you sure? It looks like it removes the $bindir/man8 which is probably /usr/local/bin/man8. Then it installs the manpages correctly at $mandir/man8 That is probably okay.