summaryrefslogtreecommitdiff
path: root/.copr/Makefile
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2022-01-25 08:09:05 -0500
committerLokesh Mandvekar <lsm5@fedoraproject.org>2022-01-25 08:27:44 -0500
commite4636ebdc84ca28cf378873435cc9a27c81756f8 (patch)
tree8eb70710585eccbc8a8d42d38d1b4ebadc4f192c /.copr/Makefile
parent534c4881b51b1bffaac1afcfbcfdc0dde09ccdb4 (diff)
downloadpodman-e4636ebdc84ca28cf378873435cc9a27c81756f8.tar.gz
podman-e4636ebdc84ca28cf378873435cc9a27c81756f8.tar.bz2
podman-e4636ebdc84ca28cf378873435cc9a27c81756f8.zip
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>
Diffstat (limited to '.copr/Makefile')
-rw-r--r--.copr/Makefile21
1 files changed, 0 insertions, 21 deletions
diff --git a/.copr/Makefile b/.copr/Makefile
deleted file mode 100644
index ff99cd5c6..000000000
--- a/.copr/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/make -f
-mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
-current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
-outdir := $(CURDIR)
-topdir := $(CURDIR)/rpmbuild
-SHORT_COMMIT ?= $(shell git rev-parse --short=8 HEAD)
-
-export GO111MODULE=off
-
-srpm:
- mkdir -p $(topdir)
- sh $(current_dir)/prepare.sh
- 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)" ${extra_arg:-""} $(outdir)/podman-*.git$(SHORT_COMMIT).src.rpm
-
-clean:
- rm -fr rpms
- rm -fr conmon