mirror of
https://github.com/containers/podman.git
synced 2025-09-10 06:22:21 +08:00
Merge pull request #4599 from raukadah/rpmbuild_without
Updates on making doc building optional
This commit is contained in:
@ -8,11 +8,11 @@ SHORT_COMMIT ?= $(shell git rev-parse --short=8 HEAD)
|
||||
srpm:
|
||||
mkdir -p $(topdir)
|
||||
sh $(current_dir)/prepare.sh
|
||||
rpmbuild -bs -D "dist %{nil}" -D "_sourcedir build/" -D "_srcrpmdir $(outdir)" -D "_topdir $(topdir)" --nodeps contrib/spec/podman.spec
|
||||
rpmbuild -bs -D "dist %{nil}" -D "_sourcedir build/" -D "_srcrpmdir $(outdir)" -D "_topdir $(topdir)" --nodeps ${extra_arg:-""} contrib/spec/podman.spec
|
||||
|
||||
build_binary:
|
||||
mkdir -p $(topdir)
|
||||
rpmbuild --rebuild -D "_rpmdir $(outdir)" -D "_topdir $(topdir)" $(outdir)/podman-*.git$(SHORT_COMMIT).src.rpm
|
||||
rpmbuild --rebuild -D "_rpmdir $(outdir)" -D "_topdir $(topdir)" ${extra_arg:-""} $(outdir)/podman-*.git$(SHORT_COMMIT).src.rpm
|
||||
|
||||
clean:
|
||||
rm -fr rpms
|
||||
|
Reference in New Issue
Block a user