mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Merge pull request #3757 from lsm5/makeinstall
add make to make installs
This commit is contained in:
4
Makefile
4
Makefile
@ -333,12 +333,12 @@ changelog: ## Generate changelog
|
||||
|
||||
install: .gopathok install.bin install.remote install.man install.cni install.systemd ## Install binaries to system locations
|
||||
|
||||
install.remote:
|
||||
install.remote: podman-remote
|
||||
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR)
|
||||
install ${SELINUXOPT} -m 755 bin/podman-remote $(DESTDIR)$(BINDIR)/podman-remote
|
||||
test -z "${SELINUXOPT}" || chcon --verbose --reference=$(DESTDIR)$(BINDIR)/podman bin/podman-remote
|
||||
|
||||
install.bin:
|
||||
install.bin: podman
|
||||
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR)
|
||||
install ${SELINUXOPT} -m 755 bin/podman $(DESTDIR)$(BINDIR)/podman
|
||||
test -z "${SELINUXOPT}" || chcon --verbose --reference=$(DESTDIR)$(BINDIR)/podman bin/podman
|
||||
|
@ -354,9 +354,13 @@ providing packages with %{import_path} prefix.
|
||||
%prep
|
||||
%autosetup -Sgit -n %{repo}-%{shortcommit0}
|
||||
|
||||
# untar cri-o
|
||||
# untar conmon
|
||||
tar zxf %{SOURCE1}
|
||||
|
||||
sed -i 's/install.remote: podman-remote/install.remote:/' Makefile
|
||||
sed -i 's/install.bin: podman/install.bin:/' Makefile
|
||||
sed -i 's/install.man: docs/install.man:/' Makefile
|
||||
|
||||
%build
|
||||
mkdir _build
|
||||
pushd _build
|
||||
|
Reference in New Issue
Block a user