[packages/docker] add doc build (NFY)

glen glen at pld-linux.org
Sat Jun 18 11:30:42 CEST 2016


commit b317146aeec4290f056df203ca8e567d7ce13649
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jun 18 11:53:11 2016 +0300

    add doc build (NFY)

 docker.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/docker.spec b/docker.spec
index 7a6fd40..8141777 100644
--- a/docker.spec
+++ b/docker.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_with	tests		# build without tests
 %bcond_with	vim			# build vim syntax package
+%bcond_with	doc			# build manual pages
 
 # NOTES
 # https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies
@@ -114,6 +115,9 @@ export GOPATH=$(pwd)/vendor
 export DOCKER_GITCOMMIT="pld/%{version}"
 
 bash -x hack/make.sh dynbinary
+%if %{with doc}
+man/md2man-all.sh
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/docker.git/commitdiff/c949723e263d6543c3018a789425da8599cfde8a



More information about the pld-cvs-commit mailing list