diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-08 17:36:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 17:36:23 +0200 |
commit | e12cc5a3b366c82881e765cf6597d369baa4023d (patch) | |
tree | a3bee9e196790b9ebf06e2fd6959257903b25a9c | |
parent | dd7e3615ec9e4deb816c15d5c8334a2849e4845f (diff) | |
parent | f339587185be2b1457b58e9e4c9fa186c4230608 (diff) | |
download | podman-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |