summaryrefslogtreecommitdiff
path: root/.copr/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-25 13:15:45 -0500
committerGitHub <noreply@github.com>2022-01-25 13:15:45 -0500
commitfa9ab1f5f7365b73c2678f9b0ca15357ecb76a3b (patch)
tree57a5696fb9e9cdbfd8be7e8749c0e75d3aa7b0dc /.copr/Makefile
parent92635c726ac063770f20ce9cc3da48f33a5ad73b (diff)
parente4636ebdc84ca28cf378873435cc9a27c81756f8 (diff)
downloadpodman-fa9ab1f5f7365b73c2678f9b0ca15357ecb76a3b.tar.gz
podman-fa9ab1f5f7365b73c2678f9b0ca15357ecb76a3b.tar.bz2
podman-fa9ab1f5f7365b73c2678f9b0ca15357ecb76a3b.zip
Merge pull request #12966 from lsm5/makefile-separate-build-install
Makefile: install targets independent of build
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