[rrd-users] Re: RRD Makefile fix for GNU-centric install assumption
Tobias Oetiker
oetiker at ee.ethz.ch
Sat Aug 5 00:28:29 MEST 2000
Today you sent me mail regarding Re: [rrd-users] Re: RRD Makefile fix for...:
*> 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
*>
*> Hi Tobias,
*>
*> 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.
thanks ... good point ... I guess I could make this a call to
install-sh which I am distributing anyways ...
cheers
tobi
*>
*> Denis
*>
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
--
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