From 4d5341340fb6df22fffa7d4a214c54c085a1b1cf Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 21 Feb 2009 10:01:40 -0800 Subject: Fix distcheck for optional nouveau stuff. --- libdrm/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libdrm') diff --git a/libdrm/Makefile.am b/libdrm/Makefile.am index 76145bcb..4c066e0e 100644 --- a/libdrm/Makefile.am +++ b/libdrm/Makefile.am @@ -18,7 +18,11 @@ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -SUBDIRS = . intel @NOUVEAU_SUBDIR@ +if HAVE_NOUVEAU +NOUVEAU_SUBDIR = nouveau +endif + +SUBDIRS = . intel $(NOUVEAU_SUBDIR) libdrm_la_LTLIBRARIES = libdrm.la libdrm_ladir = $(libdir) -- cgit v1.2.3