dont include useless .deps directories into make dist archives

We do arguably a bit reckless thing with simply packaging entire
vendor/ subdirectory and that gives us some crap. But for now this is
what we'll do and we'll simply remove that "crap" as part of packaging
step.
This commit is contained in:
Aliaksei Kandratsenka 2024-10-05 10:55:00 -04:00
parent 99da87d086
commit fe5127bac5
1 changed files with 3 additions and 0 deletions

View File

@ -972,4 +972,7 @@ EXTRA_DIST = $(SCRIPTS) \
dist-hook: $(top_distdir)/ChangeLog dist-hook: $(top_distdir)/ChangeLog
test -e "$(distdir)/vsprojects" \ test -e "$(distdir)/vsprojects" \
&& chmod -R u+w $(distdir)/*.sln $(distdir)/vsprojects/ && chmod -R u+w $(distdir)/*.sln $(distdir)/vsprojects/
rm -rf $(distdir)/vendor/googletest/googletest/src/.deps
rm -rf $(distdir)/vendor/libbacktrace/.deps
rm -rf $(distdir)/vendor/libbacktrace-integration/.deps
rm -f $(distdir)/src/config.h $(distdir)/src/gperftools/tcmalloc.h rm -f $(distdir)/src/config.h $(distdir)/src/gperftools/tcmalloc.h