aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-08-02 06:02:04 -0600
committerEd Santiago <santiago@redhat.com>2022-08-03 06:53:33 -0600
commit56039cffd7923d682bd620e5a5a974aabc94dd1b (patch)
tree5459999ec2ecfc82f4565070eeb6bb2472ccadec /docs/Makefile
parent1139cd9b8142aa4f4efb0f930a398453d521c1d9 (diff)
downloadpodman-56039cffd7923d682bd620e5a5a974aabc94dd1b.tar.gz
podman-56039cffd7923d682bd620e5a5a974aabc94dd1b.tar.bz2
podman-56039cffd7923d682bd620e5a5a974aabc94dd1b.zip
Refactor common options in man pages
podman-create and -run have many options in common. To date, these are copy-pasted and haphazardly maintained. Solution: add an include mechanism, '@@option foo', such that multiple md source files can fetch from one common file. This is a Phase One commit, a very small subset of what's possible. Purpose of this commit is ease of review. If this passes review, much more (trickier stuff) will be forthcoming. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index fb67e266c..c9192f5e6 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -13,7 +13,8 @@ help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
clean:
- rm -fr build/
+ $(RM) -fr build
+ cd source/markdown && $(RM) -f $$(<.gitignore)
.PHONY: help Makefile