here is my progress in a single patch if someone is interested. i'm CCing Thiago, because maybe he can help with a qmake issue.
basically i have the same setup that this patch applies in a test project: - the version_h rule is generated in a .pro (.pri) file - the rule simply calls a script that may or may not create or update ssrf-version.h the problem is that qmake does not generate the rule in the first place for subsurface (hopefully not a qmake bug). for my other test project it generates this: $(DESTDIR_TARGET): ssrf-version.h... <snip> ssrf-version.h: FORCE @sh ./scripts/write-version ssrf-version.h 4.3 win the above is not ideal because i think we really want .PHONY but qmake doesn't really provide us with the option to add to the directive and what it has instead is QMAKE_EXTRA_TARGETS and PRE_TARGETDEPS. with FORCE (an empty rule) i have no experience with but it does generate the ssrf-version.h.tmp file each time 'make' is called, which is what we want in a way. any comments are welcome. lubomir -- _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface