[Qt-interest] how to 'make install' generated files?

Lorenzo Bettini bettini at dsi.unifi.it
Fri Sep 25 17:12:35 CEST 2009


Hi

in my .pro file I have this target for generating html documentation:

html_docs.commands = $$QDOC $$PWD/qsource-highlight.qdocconf
html_docs.depends += $$PWD/qsource-highlight.qdoc 
$$PWD/qsource-highlight.qdocconf
html_docs.files = $$QHP_FILE $$HTMLOUTDIR/index.html \
     $$HTMLOUTDIR/*.dcf \$$HTMLOUTDIR/*.css $$HTMLOUTDIR/*.index \
     $$HTMLOUTDIR/images

INSTALLS += html_docs

where html_docs.files are generated by the target html_docs itself;
now the problem is that when I run qmake the installation commands for 
html_docs.files are not generated because the files are not there yet.

If I run

make html_docs

and then run qmake again, I get all the installation targets...

however, I'd need these targets to be created during the first run of 
qmake...

is there a way to achieve this?

thanks in advance
	Lorenzo

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net




More information about the Qt-interest-old mailing list