podman/contrib
Neville Cain 16b793a45a Generate binaries only if they are changes in src code.
Changes I am making:

1. The target `.gopathok` was listed in `.PHONY` which
looks wrong as it regenerates `.gopathok` every time we
 re-run it, which was a part of the issue. I removed it
 to avoid that. If `.gopathok` is present', makefile
should not need to rerun it.

2. Ensure the binaries are created only if they don't
exist by adding `bin/podman`
and `bin/podman-remote`.

3. Add a `SOURCES = $(shell find . -name "*.go")` and put
it as a dependency of the podman binaries target. It allows us
to re-generate the binaries only when there is a change in the
source files. The downside is it increases the running time of
the command that generates them (20 seconds on my virtual machine
running Centos 7). If this is a problem, we could introduce a
hidden file that would list all the files to track, that
would need to be updated only when a dev is introducing new files.

4. Fixed the make package-install as it does not work with yum.
I updated the build_rpm.sh to ensure it works on centos 7
and centos 8 with no pre-required installation.

Closes #4367

Signed-off-by: Neville Cain <neville.cain@qonto.eu>
2020-01-04 23:54:57 +01:00
..
cirrus codespell: spelling corrections 2019-11-13 08:15:00 +11:00
gate build: drop support for ostree 2019-10-30 11:28:10 +01:00
imgprune Cirrus: Load base-image names indirectly 2019-08-30 09:46:43 -04:00
imgts Cirrus: Reimplement release archive + upload 2019-08-28 11:54:06 -04:00
msi Support podman-remote help on windows 2019-09-19 14:14:38 -07:00
perftest bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00
podmanimage build: drop support for ostree 2019-10-30 11:28:10 +01:00
script Add script to determine dependency sizes 2018-03-23 14:12:14 +00:00
snapcraft Add missing stage-packages in snapcraft.yaml. 2019-08-13 08:57:07 -04:00
spec Generate binaries only if they are changes in src code. 2020-01-04 23:54:57 +01:00
upldrel Cirrus: Fix log URIs & add optional $ALSO_FILENAME 2019-10-03 15:18:26 -04:00
varlink io.podman.socket: drop Also=multi-user.target 2019-10-08 12:12:16 -04:00
build_rpm.sh Generate binaries only if they are changes in src code. 2020-01-04 23:54:57 +01:00