[cfe-dev] target 'uninstall' completely removes directory /usr/local/share/man/man1 under FreeBSD

Alexander Best arundel at FreeBSD.ORG
Sun Jan 23 06:34:30 PST 2011


hi there,

i was quite shocked to see that target 'uninstall' entirely scrubs my
/usr/local/share/man/man1 directory under FreeBSD (amd64; HEAD). :(

this is the output of 'gmake -n uninstall' under build-clang/docs:

echo llvm[0]: Uninstalling Documentation
/bin/rm -rf /usr/local/docs/llvm
for dir in CommandGuide tutorial; do \
	  if ([ ! -f $dir/Makefile ] || \
	      command test $dir/Makefile -ot /usr/local/src/llvm/docs/$dir/Makefile ); then \
	    /usr/local/src/llvm/autoconf/mkinstalldirs $dir; \
	    /bin/cp /usr/local/src/llvm/docs/$dir/Makefile $dir/Makefile; \
	  fi; \
	  (gmake -C $dir uninstall ) || exit 1; \
	done
gmake[1]: Entering directory `/usr/local/src/build-clang/docs/CommandGuide'
echo llvm[1]: Uninstalling CommandGuide Documentation
/bin/rm -rf /usr/local/docs/llvm/html/CommandGuide /usr/local/share/man/man1 /usr/local/docs/llvm/ps
gmake[1]: Leaving directory `/usr/local/src/build-clang/docs/CommandGuide'
gmake[1]: Entering directory `/usr/local/src/build-clang/docs/tutorial'
echo llvm[1]: Uninstalling Tutorial Documentation
/bin/rm -rf /usr/local/docs/llvm/html/tutorial
gmake[1]: Leaving directory `/usr/local/src/build-clang/docs/tutorial'

cheers.
alex

-- 
a13x



More information about the cfe-dev mailing list