Hi need to distribute the target executable on more machines by nfs shared partitions and the idea is to make it by "make install"
Hi need to distribute the target executable on more machines by nfs shared partitions and the idea is to make it by "make install"
What about if I need to execute some batch command at the end of install process and I want to do that into "make install" command?
I use something like this to perform a regular install:
INSTALL_SPECS += wwwidgets.prf
mkspecs.files = $$INSTALL_SPECS
mkspecs.path = $$[QT_INSTALL_DATA]/mkspecs/features
INSTALLS += mkspecs
I think that you can use the ".command" property to issue the command to be executed. I'm not sure of that though, but it's worth to try. If not, then simply provide multiple install entries, possibly using some kind of stencil.
It might not be documented. First try if it works at all, because it might not. It holds the command to execute. Usually it's used to define external compilers, but there is a chance install targets are implemented as such as well.
On which variable I may try .command property?
On an install target.
J-P Nurmi
Bookmarks