OSDN Git Service

Fix broken 'make distclean'
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 2 Feb 2018 00:23:42 +0000 (08:23 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 2 Feb 2018 00:41:52 +0000 (08:41 +0800)
There is an error below when running 'make distclean':

Makefile:496: ../drm/.deps/va_drm_utils.Plo: No such file or directory
make[2]: *** No rule to make target '../drm/.deps/va_drm_utils.Plo'.
Stop.

The regression is caused by f17486f which added subdir-objects to
AM_INIT_AUTOMAKE.

This patch comes from
https://github.com/intel/libva/pull/172#issuecomment-362182959

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
configure.ac

index 9738ff9..d33bdb4 100644 (file)
@@ -90,7 +90,7 @@ AC_INIT([libva],
 
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects -Wno-portability])
+AM_INIT_AUTOMAKE([dist-bzip2 -Wno-portability])
 
 AC_CONFIG_HEADERS([config.h])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])