Revert to md2man master

Upstream md2man is working again.  We can revert to using it instead
of a specific commit id.

Also, add make integration.CentOS for testing

Signed-off-by: baude <bbaude@redhat.com>

Closes: #320
Approved by: rhatdan
This commit is contained in:
baude 2018-02-09 12:31:47 -06:00 committed by Atomic Bot
parent b07c8d6a73
commit 773aa61f66
3 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -xeuo pipefail
DIST=$(cat /etc/redhat-release | awk '{print $1}')
DIST=${DIST:=Fedora}
IMAGE=fedorapodmanbuild
PYTHON=python3
if [[ ${DIST} != "Fedora" ]]; then

View File

@ -112,6 +112,10 @@ integration: libpodimage
integration.fedora:
DIST=Fedora sh .papr_prepare.sh
integration.centos:
DIST=CentOS sh .papr_prepare.sh
testunit:
$(GO) test -tags "$(BUILDTAGS)" -cover $(PACKAGES)
@ -193,10 +197,7 @@ install.tools: .install.gitvalidation .install.gometalinter .install.md2man
.install.md2man: .gopathok
if [ ! -x "$(GOPATH)/bin/go-md2man" ]; then \
go get -d github.com/cpuguy83/go-md2man; \
cd $(GOPATH)/src/github.com/cpuguy83/go-md2man; \
git checkout 20f5889cbdc3c73dbd2862796665e7c465ade7d1; \
go install github.com/cpuguy83/go-md2man; \
go get -u github.com/cpuguy83/go-md2man; \
fi
.install.ostree: .gopathok