]> git.pld-linux.org Git - packages/docker.git/commitdiff
add doc build (NFY)
authorElan Ruusamäe <glen@delfi.ee>
Sat, 18 Jun 2016 08:53:11 +0000 (11:53 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 18 Jun 2016 08:53:11 +0000 (11:53 +0300)
docker.spec

index 7a6fd40cf30a2693eab6b3c66d17900cfc47ca95..81417778082315458543eefa4126b18153fdfef5 100644 (file)
@@ -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
This page took 0.078076 seconds and 4 git commands to generate.