Selaa lähdekoodia

Require manpages for packages.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Daniel Nephin 9 vuotta sitten
vanhempi
commit
1ea9c19ffe
2 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. 1 2
      hack/make/build-deb
  2. 1 2
      hack/make/build-rpm

+ 1 - 2
hack/make/build-deb

@@ -35,8 +35,7 @@ set -e
 	debDate="$(date --rfc-2822)"
 
 	# if go-md2man is available, pre-generate the man pages
-	make manpages || true
-	# TODO decide if it's worth getting go-md2man in _each_ builder environment to avoid this
+	make manpages
 
 	builderDir="contrib/builder/deb/${PACKAGE_ARCH}"
 	pkgs=( $(find "${builderDir}/"*/ -type d) )

+ 1 - 2
hack/make/build-rpm

@@ -51,8 +51,7 @@ set -e
 	rpmDate="$(date +'%a %b %d %Y')"
 
 	# if go-md2man is available, pre-generate the man pages
-	make manpages || true
-	# TODO decide if it's worth getting go-md2man in _each_ builder environment to avoid this
+	make manpages
 
 	# Convert the CHANGELOG.md file into RPM changelog format
 	VERSION_REGEX="^\W\W (.*) \((.*)\)$"