diff options
author | Emil Velikov <[email protected]> | 2016-06-08 15:36:18 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-06-15 09:29:11 +0100 |
commit | 939cd6edac02a25a03fdb9c5f940f8ac90e5f04b (patch) | |
tree | d7ab5e6f19fc26f3b08e4c42be689d61fd13ebf8 | |
parent | 2b6817c91c7eb5979cf21b3cdc38e3631fde63de (diff) |
automake: get in-tree `make distclean' working again.
With earlier commit we've handled the `make distclean' out of tree
build, yet we failed to attribute that for in-tree builds the test
condition will return 1. Thus effectively the target will be considered
as "failed".
Fixes: b7f7ec78435 ("mesa: automake: distclean git_sha1.h when building
OOT")
Cc: <[email protected]>
Tested-by: Andy Furniss <[email protected]>
Reported-by: Andy Furniss <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
(cherry picked from commit 8229fe68b5d19c4aaf674474300319b5f69260b7)
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 0527a315955..32372da49c1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -50,7 +50,7 @@ BUILT_SOURCES = git_sha1.h # At the same time `make distclean' gets angry at us if we don't cleanup the # builddir one. distclean-local: - test $(top_srcdir) != $(top_builddir) && rm $(builddir)/git_sha1.h + ( test $(top_srcdir) != $(top_builddir) && rm $(builddir)/git_sha1.h ) || true SUBDIRS = . gtest util mapi/glapi/gen mapi |