Revision 9d02edc6

b/Makefile.am
1709 1709
	$(MAKE) $(AM_MAKEFLAGS) regen-vcs-version
1710 1710
	rm -f $(top_distdir)/vcs-version
1711 1711
	cp -p $(srcdir)/vcs-version $(top_distdir)
1712
if MANPAGES_IN_DOC
1713
	echo 'Building distribution with man pages included in documentation is' \
1714
	     'not allowed as they can contain fixed paths' >&2; \
1715
	exit 1
1716
endif
1717 1712

  
1718 1713
# a distcheck hook rule for catching revision control directories
1719 1714
distcheck-hook:
......
1743 1738
	   echo "Found unreleased version in NEWS." >&2; \
1744 1739
	   exit 1; \
1745 1740
	fi
1741
	if test -e $(top_distdir)/doc/man-html; then \
1742
	  echo "Found documentation including man pages in final archive" >&2; \
1743
	  exit 1; \
1744
	fi
1746 1745

  
1747 1746
# When building a release, stricter checks should be used
1748 1747
distcheck-release dist-release: export BUILD_RELEASE = 1

Also available in: Unified diff