lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 9e6768ee 2/2: Facilitate exclusion of data fi


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 9e6768ee 2/2: Facilitate exclusion of data files from fardels
Date: Thu, 14 Jul 2022 17:47:52 -0400 (EDT)

branch: master
commit 9e6768ee365bc3453ff9b2baf768071b17f910f4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Facilitate exclusion of data files from fardels
    
    Scripting exclusions is much better than removing files manually.
---
 workhorse.make | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/workhorse.make b/workhorse.make
index 5a2a71c8..bd7a6ae1 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -522,9 +522,17 @@ lmi_msw_res.o: lmi.ico
 # Of course, '-c' is ignored; it flags situations where '-C'
 # might be useful.
 
+# Override this variable to exclude files that are inappropriate in
+# context--e.g., when building a fardel for distribution to field
+# users whose 'skin*.xrc' should exclude skins with inforce data
+# that are unavailable to them.
+excluded_data_files :=
+
 data_files := \
   $(wildcard $(addprefix $(srcdir)/,*.ico *.png *.xml *.xrc *.xsd *.xsl)) \
 
+data_files := $(filter-out $(excluded_data_files), $(data_files))
+
 help_files := \
   $(wildcard $(addprefix $(srcdir)/,*.html)) \
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]