[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Tweaking input and video driver Makefile.am
From:       Kristian Høgsberg <krh () bitplanet ! net>
Date:       2005-08-29 22:34:39
Message-ID: 43138D7F.6010800 () bitplanet ! net
[Download RAW message or body]

Hi,

I'd like to propose a couple of small changes to the build system for 
the input and video drivers.  First, the Makefile.am should be

	inputdir = @inputdir@

	@DRIVER_NAME@_drv_ladir = $(inputdir)

which makes it possible to override this destination dir on make install 
time.  This is how all the standard install destinations work and rpm 
uses this (and not DESTDIR) to explicitly override the install 
destinations when installing into a temporary root.

Second, could we drop the inputdir and driverdir variables from the 
xorg-server.pc file?  None of the drivers are using it anyway, they all 
hardcode $(moduledir)/input or $(moduledir)/driver.  I'm not sure what 
the purpose of these vars should be, but as it is it's just confusing 
since you can't configure a driver to install to a specific inputdir or 
driverdir.

Kristian




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic