From: Lady Date: Thu, 18 Jan 2024 15:22:16 +0000 (-0500) Subject: Fully remove FINDOPTS X-Git-Tag: 0.4.1~6 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/49d18f0e25e2051303029e5cee01c87cf5413231?ds=inline;hp=a2a37ad84293ab4880a23a816f7eeba60083806a Fully remove FINDOPTS This hasn’t been officially supported for some time, but the variable was still being referenced and could have been supplied on the command line. --- diff --git a/GNUmakefile b/GNUmakefile index cf2a538..bbeffb0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -225,11 +225,11 @@ override pathenc = $(foreach path,$1,$(subst $(space),/,$(call perenc,$(subst /, # (overridable) Collect all of the applicable includes from the # includes directory. -sourceincludes := $(shell $(FIND) $(FINDOPTS) $(foreach dir,$(INCLUDEDIR),$(call quote,$(dir))) -type f '(' $(FINDRULES) ')') +sourceincludes := $(shell $(FIND) $(foreach dir,$(INCLUDEDIR),$(call quote,$(dir))) -type f '(' $(FINDRULES) ')') # (overridable) Collect all of the applicable source files from the # source directory, removing any which are also includes. -sourcefiles := $(filter-out $(sourceincludes),$(shell $(FIND) $(FINDOPTS) $(foreach dir,$(SRCDIR),$(call quote,$(dir))) -type f '(' $(FINDRULES) ')')) +sourcefiles := $(filter-out $(sourceincludes),$(shell $(FIND) $(foreach dir,$(SRCDIR),$(call quote,$(dir))) -type f '(' $(FINDRULES) ')')) ifdef GIT ifneq ($(wildcard $(THISDIR)/.git),)