Skip to content

DESTDIR broken

My procedure to use DESTDIR:

I run this script on my git head in /usr/local/src/NTP/ntpsec

./waf clean

export DESTDIR=/usr/local/
./waf configure --refclock=all --prefix=BATSHT && ./waf build  &&./waf install

When I run that, it finishes fine with no install errors or warnings.

Then the magic happens. Some files get installed here:

/usr/local/u1/local/src/NTP/ntpsec/BATSHT/{bin,sbin,share}

Huh? I was sort of expecting:

/usr/local/BATSHT/{bin,sbin,share}

And other files get installed here:

/usr/local/usr/lib64/python2.7/site-packages/ntp/*py

No idea why TWO so different installed locations.

No idea what the right thing to do is, but I suspect none of the above...