From a630dcaf7627accdf1f636680b855ed3367b6979 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sat, 14 Feb 2026 23:02:55 +0000 Subject: [PATCH] Install gen_func_comment_tmpl() only when comments change --- db/schemas/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/schemas/Makefile b/db/schemas/Makefile index 6e03a0b..aad1226 100644 --- a/db/schemas/Makefile +++ b/db/schemas/Makefile @@ -606,7 +606,8 @@ $(VIEW_DROP_FILES): # The SQL files that work with comments. # (Not exactly a cache of db content updates, but I don't care.) -comment_on.sql comment_off.sql: $(DB_CACHE)/build_comment_files +comment_on.sql comment_off.sql: $(DB_CACHE)/gen_func_comment_tmpl \ + $(DB_CACHE)/build_comment_files # The directories where comment sql goes # The directories used to transform RST to text @@ -634,7 +635,6 @@ $(DB_CACHE)/gen_func_comment_tmpl: $(PSQL_DEPENDS) $(DB_CACHE_PREREQ) \ # and creates the pre-requsites. # Build our internal dependencies by way of prerequsites. $(DB_CACHE)/build_comment_files: $(PSQL_DEPENDS) $(DB_CACHE_PREREQ) \ - $(DB_CACHE)/gen_func_comment_tmpl \ $(HTML_RST_FILES) \ $(COMMENT_SCHEMA_PATHS) $(COMMENT_DIRS) for tmpl_dir in $(COMMENT_TEMPLATE_PATHS) ; do \ -- 2.34.1