diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-06-23 12:11:12 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-07-02 13:26:31 +0200 |
commit | c58cb5910281cfcaed015cca8723776c5003826d (patch) | |
tree | a93833874340cb9791ff094817fa29e29ea46cde /src/lib/corelib/buildgraph/buildgraph.pri | |
parent | 4767c3ee950e4e08d897ccd7c350ab0b3c45412e (diff) |
Make sure to remove empty parent directories when removing artifacts.
We create these directories when we create the artifacts, so we have to
remove them when the artifacts are removed.
For safety, we do not do that for artifacts located outside of the build
directory.
Task-number: QBS-630
Change-Id: I4da91a2b940ddea6837cb881bf3dc777b71fe702
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/buildgraph.pri')
-rw-r--r-- | src/lib/corelib/buildgraph/buildgraph.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/buildgraph/buildgraph.pri b/src/lib/corelib/buildgraph/buildgraph.pri index 2192df23a..f91e51f2d 100644 --- a/src/lib/corelib/buildgraph/buildgraph.pri +++ b/src/lib/corelib/buildgraph/buildgraph.pri @@ -10,6 +10,7 @@ SOURCES += \ $$PWD/command.cpp \ $$PWD/cycledetector.cpp \ $$PWD/depscanner.cpp \ + $$PWD/emptydirectoriesremover.cpp \ $$PWD/executor.cpp \ $$PWD/executorjob.cpp \ $$PWD/filedependency.cpp \ @@ -43,6 +44,7 @@ HEADERS += \ $$PWD/command.h \ $$PWD/cycledetector.h \ $$PWD/depscanner.h \ + $$PWD/emptydirectoriesremover.h \ $$PWD/executor.h \ $$PWD/executorjob.h \ $$PWD/filedependency.h \ |