aboutsummaryrefslogtreecommitdiff
path: root/package-source.bash
diff options
context:
space:
mode:
Diffstat (limited to 'package-source.bash')
-rwxr-xr-xpackage-source.bash8
1 files changed, 6 insertions, 2 deletions
diff --git a/package-source.bash b/package-source.bash
index 772dfef..1b54301 100755
--- a/package-source.bash
+++ b/package-source.bash
@@ -18,14 +18,18 @@ cd "$(dirname "$0")"
GITVERSION=$(git describe --tags --dirty)
echo $GITVERSION > VERSION
+# Render the manpages and include them in the tarball. This
+# avoids a build-dependency to pandoc.
+./Documentation/MANPAGE-render.bash
+
# gocryptfs source tarball
PREFIX_SRC_ONLY=gocryptfs_${GITVERSION}_src
-git_archive_extra $PREFIX_SRC_ONLY VERSION
+git_archive_extra $PREFIX_SRC_ONLY VERSION Documentation/*.1
# gocryptfs source + dependencies tarball
dep ensure
PREFIX_SRC_DEPS=gocryptfs_${GITVERSION}_src-deps
-git_archive_extra $PREFIX_SRC_DEPS VERSION vendor
+git_archive_extra $PREFIX_SRC_DEPS VERSION Documentation/*.1 vendor
rm VERSION