summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-08 17:36:23 +0200
committerGitHub <noreply@github.com>2020-05-08 17:36:23 +0200
commite12cc5a3b366c82881e765cf6597d369baa4023d (patch)
treea3bee9e196790b9ebf06e2fd6959257903b25a9c
parentdd7e3615ec9e4deb816c15d5c8334a2849e4845f (diff)
parentf339587185be2b1457b58e9e4c9fa186c4230608 (diff)
downloadpodman-e12cc5a3b366c82881e765cf6597d369baa4023d.tar.gz
podman-e12cc5a3b366c82881e765cf6597d369baa4023d.tar.bz2
podman-e12cc5a3b366c82881e765cf6597d369baa4023d.zip
Merge pull request #6136 from liuming50/fix-a-makefile-dependency-issue
Makefile: fix a dependency issue
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2bbae0a72..d1eb56aa8 100644
--- a/Makefile
+++ b/Makefile
@@ -377,7 +377,7 @@ MANPAGES_MD ?= $(wildcard docs/source/markdown/*.md pkg/*/docs/*.md)
MANPAGES ?= $(MANPAGES_MD:%.md=%)
MANPAGES_DEST ?= $(subst markdown,man, $(subst source,build,$(MANPAGES)))
-$(MANPAGES): %: %.md .gopathok
+$(MANPAGES): %: %.md .install.md2man docdir
@sed -e 's/\((podman.*\.md)\)//' -e 's/\[\(podman.*\)\]/\1/' $< | $(GOMD2MAN) -in /dev/stdin -out $(subst source/markdown,build/man,$@)
.PHONY: docs
@@ -385,7 +385,7 @@ docdir:
mkdir -p docs/build/man
.PHONY: docs
-docs: .install.md2man docdir $(MANPAGES) ## Generate documentation
+docs: $(MANPAGES) ## Generate documentation
.PHONE: xref_helpmsgs_manpages
xref_helpmsgs_manpages: