# HG changeset patch # User Chris Cannam # Date 1529417004 -3600 # Node ID 65d244ee39f968c55a7817308c88cd511d025d67 # Parent ecc44dd1617224af4d04095a090c0767ddbf527c Experimentally add a rule to re-run Repoint if the project or lock file is newer than the .repoint.point file. This sort of thing isn't sufficient for all uses of Repoint because some of the initial qmake project file info is brought in by Repoint, so it has to be run before qmake as well. Also it's not clear yet how it will interact with archived builds (i.e. source releases) -- to be tested. diff -r ecc44dd16172 -r 65d244ee39f9 .hgignore --- a/.hgignore Tue Jun 19 14:58:06 2018 +0100 +++ b/.hgignore Tue Jun 19 15:03:24 2018 +0100 @@ -49,6 +49,7 @@ piper-convert *.msi *.user -glob:.repoint-*.bin +glob:.vext* +glob:.repoint* build_win32 build_win64 diff -r ecc44dd16172 -r 65d244ee39f9 base.pro --- a/base.pro Tue Jun 19 14:58:06 2018 +0100 +++ b/base.pro Tue Jun 19 15:03:24 2018 +0100 @@ -20,6 +20,7 @@ OBJECTS_DIR = o MOC_DIR = o +include(repoint.pri) include(bq-files.pri) include(vamp-plugin-sdk-files.pri) include(svcore/files.pri) diff -r ecc44dd16172 -r 65d244ee39f9 repoint.pri --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/repoint.pri Tue Jun 19 15:03:24 2018 +0100 @@ -0,0 +1,7 @@ + +repoint.target = $$PWD/.repoint.point +repoint.depends = $$PWD/repoint-project.json $$PWD/repoint-lock.json +repoint.commands = $$PWD/repoint install --directory $$PWD + +QMAKE_EXTRA_TARGETS += repoint +PRE_TARGETDEPS += $$repoint.target