]> Lady’s Gitweb - Shushe/commitdiff
Allow separate find rules for includes
authorLady <redacted>
Thu, 11 Jan 2024 01:20:19 +0000 (20:20 -0500)
committerLady <redacted>
Thu, 11 Jan 2024 01:20:19 +0000 (20:20 -0500)
This hypothetically enables the situation where `SRCDIR` and
`INCLUDEDIR` are the same, and files are grouped into one or the other
by some other factor.

GNUmakefile
README.markdown

index a6741782f2a6b3114bd6f705b382f352703728f3..174f340315870e795c32985fa69e854df4c29233 100644 (file)
@@ -139,6 +139,8 @@ MAGICDIR := $(patsubst ./%,%,$(THISDIR)/magic)
 # a period.
 FINDOPTS := -PE
 FINDRULES := -flags -nohidden -and -not -name '.*'
+FINDINCLUDEOPTS := $(FINDOPTS)
+FINDINCLUDERULES := $(FINDRULES)
 
 # The list of parsers for plaintext file types.
 #
index 6bfa987de70458ca7886a79a146b0982858580bd..cae7ac1a82b71159967ea3e76f2fdcc5c14d2449 100644 (file)
@@ -158,6 +158,14 @@ The following additional variables can be used to control the behaviour
   Rules to use with `find` when searching for source files (default:
     `-flags -nohidden -and -not -name '.*'`).
 
+- **`FINDINCLUDEOPTS`:**
+  Options to pass to `find` when searching for includes (default:
+    `$(FINDOPTS)`).
+
+- **`FINDINCLUDERULES`:**
+  Rules to use with `find` when searching for includes (default:
+    `$(FINDRULES)`).
+
 - **`PARSERS`:**
   A white·space‐separated list of parsers to use (default:
     `$(THISDIR)/parsers/*.xslt`).
This page took 0.027311 seconds and 4 git commands to generate.