From c80ef2b6550cea0c44c15a219537c524529211df Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Thu, 21 Oct 2010 21:27:36 +0200 Subject: [PATCH] [build] Fix "make distcheck" Make the GitSharp source tree writable during distcheck, which is needed for the compilation to succeed. --- build/gitsharp.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/gitsharp.mk b/build/gitsharp.mk index 774c18ea..49c046cd 100644 --- a/build/gitsharp.mk +++ b/build/gitsharp.mk @@ -503,5 +503,10 @@ $(ASSEMBLY_FILE): $(SOURCES_BUILD) clean-gitsharp: rm -rf $(top_builddir)/GitSharp/bin +# GitSharp writes to its source tree during compilation, +# so we need to make it writable during distcheck +distcheck-hook: + chmod -R u+w $(distdir)/GitSharp + EXTRA_DIST += $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(BUNDLE_EXPANDED)