From: Oleg Broytman Date: Tue, 10 May 2016 21:42:00 +0000 (+0300) Subject: Include docs in sdist X-Git-Tag: 0.0.4~4 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4cdde2dc1ceee65c8e850b69b11b339c4a3cde7a;p=m_librarian.git Include docs in sdist --- diff --git a/MANIFEST.in b/MANIFEST.in index 8858236..c132e57 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,4 @@ -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 diff --git a/mk-distr b/mk-distr index 8efe000..ff80c4c 100755 --- a/mk-distr +++ b/mk-distr @@ -5,6 +5,8 @@ umask 022 && 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