Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Customise uninstall rule?
Qt 6.11 is out! See what's new in the release blog

Customise uninstall rule?

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sptrakesh
    wrote on last edited by
    #1

    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@

    Thanks
    Rakesh

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved