mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
build: improved main makefile
* added .install.md2man as dependency for docs, fixed broken build on systems that do not have go-md2man preinstalled. * sorted PHONY targets Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
16
Makefile
16
Makefile
@ -318,7 +318,7 @@ $(MANPAGES): %: %.md .gopathok
|
|||||||
docdir:
|
docdir:
|
||||||
mkdir -p docs/build/man
|
mkdir -p docs/build/man
|
||||||
|
|
||||||
docs: docdir $(MANPAGES) ## Generate documentation
|
docs: .install.md2man docdir $(MANPAGES) ## Generate documentation
|
||||||
|
|
||||||
install-podman-remote-%-docs: podman-remote docs $(MANPAGES)
|
install-podman-remote-%-docs: podman-remote docs $(MANPAGES)
|
||||||
rm -rf docs/build/remote
|
rm -rf docs/build/remote
|
||||||
@ -532,19 +532,23 @@ vendor-in-container:
|
|||||||
.PHONY: \
|
.PHONY: \
|
||||||
.gopathok \
|
.gopathok \
|
||||||
binaries \
|
binaries \
|
||||||
|
changelog \
|
||||||
clean \
|
clean \
|
||||||
validate.completions \
|
|
||||||
default \
|
default \
|
||||||
docs \
|
docs \
|
||||||
gofmt \
|
gofmt \
|
||||||
|
golangci-lint \
|
||||||
help \
|
help \
|
||||||
install \
|
install \
|
||||||
golangci-lint \
|
install.libseccomp.sudo \
|
||||||
lint \
|
lint \
|
||||||
pause \
|
pause \
|
||||||
uninstall \
|
|
||||||
shell \
|
shell \
|
||||||
changelog \
|
uninstall \
|
||||||
validate \
|
validate \
|
||||||
install.libseccomp.sudo \
|
validate.completions \
|
||||||
vendor
|
vendor
|
||||||
|
|
||||||
|
rpm:
|
||||||
|
@echo "Building rpms ..."
|
||||||
|
./contrib/build_rpm.sh
|
||||||
|
Reference in New Issue
Block a user