summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-21 10:01:40 -0800
committerEric Anholt <eric@anholt.net>2009-02-21 10:01:40 -0800
commit4d5341340fb6df22fffa7d4a214c54c085a1b1cf (patch)
treec76225467fc73a69ea8b051f560915769b665548 /libdrm
parent2f1cdf79a7b7679f2602f27f18a0737f6e40e490 (diff)
Fix distcheck for optional nouveau stuff.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/Makefile.am6
1 files changed, 5 insertions, 1 deletions
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)