-include docs/genapidocs
-include sample/m_librarian.conf
-include COPYING ChangeLog MANIFEST.in
-include TODO mk-distr
-include Makefile *.py *.rst *.txt *.css *.js *.html *.gif *.png
-recursive-include docs* *.txt
-recursive-include m_librarian *.mo
+include docs/genapidocs sample/m_librarian.conf
+include COPYING ChangeLog MANIFEST.in Makefile TODO mk-distr *.txt
+recursive-include docs* Makefile *.py *.rst *.txt *.css *.js *.html *.gif *.png
+recursive-include m_librarian/translations Makefile *.mo *.po
git archive --format=tar --prefix=m_librarian/ "${1:-HEAD}" |
(cd "$HOME/tmp" && exec tar xf -) &&
+cp -ap docs* "$HOME/tmp/m_librarian" &&
+
cd "$HOME/tmp/m_librarian" &&
python setup.py sdist --formats=bztar &&
cd dist && mv m_librarian-*.tar.bz2 ../.. && cd ../.. && exec rm -rf m_librarian