[rrd-users] Re: RRD Makefile fix for GNU-centric install assumption

Dave Plonka plonka at doit.wisc.edu
Fri Aug 4 21:54:49 MEST 2000


On Fri, Aug 04, 2000 at 09:35:19AM -1000, Clifton Royston wrote:
> 
>   The current RRD makefile uses portable installation code most places,
> but in one place (installing Perl modules) it uses the "install -d"
> construct which is specific to GNU install, and doesn't work on OSes
> using the BSD-derived install.  (In this case, BSD/OS.)
> 
>   May I recommend modifying the sole "install -d" to use something more
> like:
> 
> install-data-local:
>         test -d $(PERLLIBS)/auto/RRDs \
>         || mkdir $(PERLLIBS)/auto/RRDs \
>         || exit 1; \
>         chmod 755 $(PERLLIBS)/auto/RRDs

The GNU-way to do portable mkdirs, installs, and such is to use GNU
shtool, which Ralf Engelschall, of WML fame, etc. has been working on:

   http://www.gnu.org/software/shtool/

shtool rounds out the suite of tools wh/include autoconf, automake and
libtool.

(I'd guess Tobi is aware of this package, but for the benefit of
everyone else...)

Dave

-- 
plonka at doit.wisc.edu  http://net.doit.wisc.edu/~plonka  ARS:N9HZF  Madison, WI

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list