Skip to content
Snippets Groups Projects
Commit 5fe8158f authored by Simon Rose's avatar Simon Rose
Browse files

Added check for old-style patches

parent cde44af3
No related branches found
No related tags found
No related merge requests found
.PHONY: patch patchrevert .PHONY: patch patchrevert
.PHONY: check_for_old_patches
check_for_old_patches:
$(if $(wildcard $(TOP)/patch/Site/$(E3_MODULE_VERSION_ORIG)-*.p0.patch),$(warning Warning: old-style patches detected. Please move them to patch/Site/$$E3_MODULE_VERSION.))
## Apply Patch Files ## Apply Patch Files
patch: patch: check_for_old_patches
$(QUIET) $(call patch_site) $(QUIET) $(call patch_site)
## Revert Patch Files ## Revert Patch Files
patchrevert: patchrevert: check_for_old_patches
$(QUIET) $(call patch_revert_site) $(QUIET) $(call patch_revert_site)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment