Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Customise uninstall rule?
sptrakesh last edited by
I use the extra rule to copy my header files while preserving directory structure for the INSTALL rule. The problem is that the uninstall make target does not remove any of these files. Is there any way to affect the behaviour of the uninstall rule?
@ INSTALL_PREFIX = /var/tmp/minnal
target.path = $$INSTALL_PREFIX/lib
includes.path = $$INSTALL_PREFIX/include
includes.extra = mkdir $$INSTALL_PREFIX/include; cp -Rp ../../src/api/servlet $$INSTALL_PREFIX/include; find $$INSTALL_PREFIX -type d -name .svn | xargs rm -rf; find $$INSTALL_PREFIX -type f -name "*.cpp" | xargs rm -f@