diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-10-15 13:50:25 +1000 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2015-10-15 10:16:39 -0400 |
commit | 5ca11ae0d163eea6055f3d7f35d2bebef0a93ffd (patch) | |
tree | de380bfbad46d0d0d33b96fc7acff0cd361beb7c | |
parent | d3af5d2c79581007590816658b8789aa4f780473 (diff) |
Check for man pages to exist before making a tarball
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
-rw-r--r-- | tools/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 1559f90..9195595 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -42,3 +42,12 @@ dist_man_MANS = $(man_pages) CLEANFILES = $(dist_man_MANS) MAINTAINERCLEANFILES = $(man_pages) *.xml endif + +# make sure manpages were built before running dist +dist-hook: + @test -f $(distdir)/evemu-describe.1 || (\ + echo "******************************************************" && \ + echo "Couldn't find man pages, refusing make dist." && \ + echo "Install xmlto/asciidoc to build man pages for tarball." && \ + echo "******************************************************" && \ + test ) |