[cfe-dev] target 'uninstall' completely removes directory /usr/local/share/man/man1 under FreeBSD
Alexander Best
arundel at FreeBSD.ORG
Tue Jan 25 06:13:15 PST 2011
On Sun Jan 23 11, arrowdodger wrote:
> On Sun, Jan 23, 2011 at 5:34 PM, Alexander Best <arundel at freebsd.org> wrote:
>
> > 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
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
>
> I think, installing non-ports software with default prefix on FreeBSD is
> quite bad idea.
'configure --help' claims that the preset prefix directory is /usr/local, which
is just what i want.
this is clearly a bug in the makefile imo. could somebody please try
'make -n uninstall' in doc/ under linux and see what happens?
cheers.
alex
--
a13x
More information about the cfe-dev
mailing list