package/opencv3: fix OPENCV3_CLEAN_INSTALL_{DOC, CMAKE}
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 1 Nov 2020 11:12:44 +0000 (12:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 3 Nov 2020 22:44:22 +0000 (23:44 +0100)
commit436f4804b2cad2423aa7a54a97de803a5f889f65
treea9809766a461c86586f168199f2e503e60df6de7
parentc69a88190a73fae4b300c47182089117f16c8415
package/opencv3: fix OPENCV3_CLEAN_INSTALL_{DOC, CMAKE}

opencv3 does not install anything in $(TARGET_DIR)/usr/share/OpenCV/doc
so drop OPENCV3_CLEAN_INSTALL_DOC

However it installs its licence files in
$(TARGET_DIR)/usr/share/licenses/opencv3 so add
OPENCV3_CLEAN_INSTALL_LICENSE

Moreover, the cmake hook does not catch all cmake files and missed the
valgrind files so update OPENCV3_CLEAN_INSTALL_CMAKE and add
OPENCV3_CLEAN_INSTALL_VALGRIND to delete those files:
OpenCVConfig.cmake  OpenCVConfig-version.cmake  OpenCVModules.cmake  OpenCVModules-release.cmake  valgrind_3rdparty.supp  valgrind.supp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/opencv3/opencv3.mk