[build] Fix "make distcheck"

Make the GitSharp source tree writable during distcheck, which is needed
for the compilation to succeed.
This commit is contained in:
Bertrand Lorentz 2010-10-21 21:27:36 +02:00
parent 5cd5cbb921
commit c188e220aa

View file

@ -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)