diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-17 15:02:53 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-18 10:06:49 (GMT) |
commit | 827da1119ef2d0978dd6dbc58aeee803e43b2455 (patch) | |
tree | 273248d765ee0bed6c8e90a1f4ce7bcf1796ee06 /.hooks-config | |
parent | adc3459707c4c942b547eb57d02a82b8d5085962 (diff) | |
download | CMake-827da1119ef2d0978dd6dbc58aeee803e43b2455.zip CMake-827da1119ef2d0978dd6dbc58aeee803e43b2455.tar.gz CMake-827da1119ef2d0978dd6dbc58aeee803e43b2455.tar.bz2 |
Makefiles: Make build root targets "all", "clean" and "preinstall" recursive
In the "Unix Makefiles" generator, the subdirectory targets "all", "clean" and
"preinstall" in Makefile2 are recursive. In the build root directory,
these targets aren't. Instead they're are added separately and additional
dependencies are added on a per target basis. This is inconsistent and it
complicates per directory commands, like a per directory clean command.
This patch makes the "all", "clean" and "preinstall" targets in Makefile2
in the build root directory recursive, using the same algorithm that is
already used for subdirectories.
Some side effects are:
- Makefile2 gets smaller and simpler
- The main "all", "clean" and "preinstall" targets have recursive dependencies,
instead of flat (depth of 1) ones.
Diffstat (limited to '.hooks-config')
0 files changed, 0 insertions, 0 deletions