[rrd-users] Re: RRD Makefile fix for GNU-centric install assumption
barbier at imacs.polytechnique.fr
Sat Aug 5 00:17:50 MEST 2000
On Sat, Aug 05, 2000 at 12:10:36AM +0200, Tobias Oetiker wrote:
> *> > > 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/
> *> I suppose, but test, mkdir, and chmod ought to be universally
> *> available, and I noticed that same construct is used several places
> *> elsewhere in the makefile. (Surely you don't think I'd write original
> *> code if I could steal it!)
> *> Anyway, no big deal, just thought I might save future users of
> *> hard-line BSD systems a few minutes of grief.
> thanks for the imput ... will add it to the next release ...
> (probably the last of the 1.0.x series ... then we will move to 1.1
> development with the nifty patch from the webtv folks
take care that this solution does not work, you need `mkdir -p' instead
of mkdir, but this flag is not portable.
This is why some people write replacement scripts.
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users