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>
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])])