summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@redhat.com>2019-12-02 16:45:11 +0000
committerSorin Sbarnea <ssbarnea@redhat.com>2019-12-02 16:47:30 +0000
commit86ef7db536d826193b9c47d8b97aa4db0a25dff6 (patch)
tree1865ab77e21aeb84af66a327ab254d6556821293 /Makefile
parente4275b3453598c3cdcf1ee00ff73c55780aef444 (diff)
downloadpodman-86ef7db536d826193b9c47d8b97aa4db0a25dff6.tar.gz
podman-86ef7db536d826193b9c47d8b97aa4db0a25dff6.tar.bz2
podman-86ef7db536d826193b9c47d8b97aa4db0a25dff6.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index dd948fc8e..d7c3cf7bd 100644
--- a/Makefile
+++ b/Makefile
@@ -318,7 +318,7 @@ $(MANPAGES): %: %.md .gopathok
docdir:
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)
rm -rf docs/build/remote
@@ -532,19 +532,23 @@ vendor-in-container:
.PHONY: \
.gopathok \
binaries \
+ changelog \
clean \
- validate.completions \
default \
docs \
gofmt \
+ golangci-lint \
help \
install \
- golangci-lint \
+ install.libseccomp.sudo \
lint \
pause \
- uninstall \
shell \
- changelog \
+ uninstall \
validate \
- install.libseccomp.sudo \
+ validate.completions \
vendor
+
+rpm:
+ @echo "Building rpms ..."
+ ./contrib/build_rpm.sh