summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nathan Collins <nathan.collins@gmail.com>2012-06-09 20:46:41 -0700
committerGravatar Nathan Collins <nathan.collins@gmail.com>2012-06-09 20:46:41 -0700
commit2b29a0228527e00d112770cb89b07f28c6bb0a14 (patch)
tree055553a0ca6221ada3890f2d46aace44f8c33a52
parent817a42056b228bccae2c3111214944bde1286325 (diff)
Make man pages when making sdist.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 26367aa46..9ac06e1d7 100644
--- a/Makefile
+++ b/Makefile
@@ -103,6 +103,7 @@ clean:
# Workaround for cabal sdist not running Setup hooks, so I cannot
# generate a file list there.
sdist: clean
+ @make $(mans)
@if [ ! -e git-annex.cabal.orig ]; then cp git-annex.cabal git-annex.cabal.orig; fi
@sed -e "s!\(Extra-Source-Files: \).*!\1$(shell find . -name .git -prune -or -not -name \\*.orig -not -type d -print | perl -ne 'print unless length >= 100')!i" < git-annex.cabal.orig > git-annex.cabal
@cabal sdist