Commit 010aac8a authored by Lasse Karstensen's avatar Lasse Karstensen

Remove any superflous non rst/html from tarball.

When we in the future introduce something new and shiny here, don't
automatically start putting it into the tarball release.

This may seem a bit backward, the main idea is to avoid hardcoding
the section/subdirectory names yet another place.
parent 44821990
......@@ -105,7 +105,7 @@ dist-hook:
rm -rf $(BUILDDIR)/doctrees
cp -r $(BUILDDIR) $(distdir)
# Remove any extra non-rst files we may have copied over.
find $(distdir) ! -type f -a -name \*.rst -ls
find $(distdir) -mindepth 2 -type f ! -name \*.rst | grep -v '/build/' | xargs rm -f
distclean-local:
rm -rf $(BUILDDIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment