Makefile: install targets independent of build

Building from source would involve separate `make` and `make install`
steps.

This removes a lot of unnecessary `-nobuild` targets which were
otherwise needed for packaging.

This commit also removes spec files for unused copr jobs.

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar
2022-01-25 08:09:05 -05:00
parent 534c4881b5
commit e4636ebdc8
8 changed files with 17 additions and 747 deletions

View File

@ -196,13 +196,13 @@ make docs docker-docs
# the installable rpm package.
%install
PODMAN_VERSION=%{version} %{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \
install.bin-nobuild \
install.man-nobuild \
install.bin \
install.man \
install.systemd \
install.completions \
install.docker \
install.docker-docs-nobuild \
install.remote-nobuild \
install.docker-docs \
install.remote \
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/