GNOME Bugzilla – Bug 750490
'make uninstall' for qt-gstreamer incomplete
Last modified: 2015-06-13 18:32:48 UTC
After 'make uninstall' the following directories (in part with subdirectories, but no files) remained: <prefix>/include/Qt5GStreamer <prefix>/lib/cmake/Qt5GStreamer <qt-prefix>/qml/QtGStreamer <qt-prefix>/imports/QtGStreamer My expectation is that 'make uninstall' reverts all actions done by 'make install', including removing directories that were created.
Thanks for the bug report, are you going to make a patch?
I have looked into this. The problem seems to be CMake's limited support for generating an 'uninstall' target. Since the 'uninstall' only removes everything recorded in install_manifest.txt, I feel it is CMake's responsibility to also record creation of directories in the install_manifest.txt file. However, since actual installing is done by CMake's file(INSTALL …)-command, I don't see a way of easily figuring out if and what directories were created. If no one else has any suggestions, I'd say you can close the report.
Thanks a lot for investigating this! Let's close it then as you suggest.