Files
Centos-kernel-stream-9/makefile
T
Prarit Bhargava 901683b934 redhat: Change Makefile target names to dist-
The distribution specific Makefile target names begin with rh-.  Switch
them to be use the distro agnostic dist-.

rh-dist-git-test and rh-dist-git are renamed to dist-git-test and
dist-git.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

v2: Update to include jcline's newly added docs
v3: Clean up rh-help and rh-full-help output.  I made all text conform
to 80 chars.
2021-08-30 10:50:11 -04:00

17 lines
345 B
Makefile

ifeq ($(filter dist-% distg-%,$(MAKECMDGOALS)),)
include Makefile
endif
_OUTPUT := "."
# this section is needed in order to make O= to work
ifeq ("$(origin O)", "command line")
_OUTPUT := "$(abspath $(O))"
_EXTRA_ARGS := O=$(_OUTPUT)
endif
dist-%::
$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
distg-%::
$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)