Subject: Re: xntpd
To: Mark W. Eichin <eichin@kitten.gen.ma.us>
From: Rob Windsor <windsor@punk.hedgehog.com>
List: current-users
Date: 01/05/1996 01:10:27
Verily did "Mark W. Eichin" write:

>> /usr/bin/install -c   xmeter /tmp/usr/X11R6/bin/xmeter
>> /usr/bin/install -c -m 0444 XMeter.ad /tmp/usr/X11R6/lib/X11/app-defaults\
>>/XMeter

> That's exactly right; then you just pick those up and drop them into
> the package, and they come out in the expected full path locations on
> the other end. (So the package "depends" on the X11R6
> installation. That's fine...) You *want* to install things where
> people will find them after all, and that means X programs go in
> /usr/X11R6/bin. 

I don't want xemacs, xbill, xpickmynose, and xkittypetter in /usr/X11R6/bin.

If you do, that's fine.  They're not part of the base X11R6 installation,
so, IMNSHO, they don't belong in /usr/X11R6.

Also, I seem to remember "make install" puking when it didn't find
/tmp/usr/X11R6/lib/X11 waiting-n-willing for it.

The concept of throwing a DESTDIR at it, and having it vomit things in
${DESTDIR}/usr/X11R6/{bin,lib,blah} is utterly moronic.  Why even bother
with DESTDIR then?

The "right way" to do it is to have DESTDIR have a default value of
"/usr/X11R6" and the rest, such as BINDIR, be "/bin" and equivalent
abbreviated destinations.  (Therefore, by default, 'make install' still
tries /usr/X11R6/bin, but you can change the '/usr/X11R6' part a-la DESTDIR).

-- Rob
----------------------------------------
Internet: windsor@pobox.com      Life: Rob@Sunnyvale.California.USA.Earth
"Da Web": http://pobox.com/~windsor/

"Ain't much distance 'tween a pat on the back and a kick in the pants."
    -- David Lee Roth (1990), `The Dogtown Shuffle'