diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a5c54ffc03b..0527a315955 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -46,6 +46,12 @@ git_sha1.h: git_sha1.h.tmp BUILT_SOURCES = git_sha1.h +# We want to keep the srcdir file since we need it on rebuild from tarball. +# 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 + SUBDIRS = . gtest util mapi/glapi/gen mapi # include only conditionally ? |