Important: Please read the Qt Code of Conduct -

Customise uninstall rule?

  • Hello,

    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@


Log in to reply