mirror of
https://github.com/containers/skopeo.git
synced 2025-10-21 19:03:44 +00:00
Make the install-* targets depend on things they are installing
This ensures that we are not installing e.g. an obsolete version of the man page after the Markdown version is updated. Note that this greatly benefits from the "skopeo" target being non-phony, otherwise (make install) would rebuild the binary.
This commit is contained in:
4
Makefile
4
Makefile
@@ -57,11 +57,11 @@ install: install-binary install-docs
|
||||
# TODO(runcom)
|
||||
#install -m 644 completion/bash/skopeo ${BASHINSTALLDIR}/
|
||||
|
||||
install-binary:
|
||||
install-binary: skopeo
|
||||
install -d -m 0755 ${INSTALLDIR}
|
||||
install -m 755 skopeo ${INSTALLDIR}
|
||||
|
||||
install-docs:
|
||||
install-docs: docs/skopeo.1
|
||||
install -d -m 0755 ${MANINSTALLDIR}/man1
|
||||
install -m 644 docs/skopeo.1 ${MANINSTALLDIR}/man1/
|
||||
|
||||
|
Reference in New Issue
Block a user