summaryrefslogtreecommitdiff
path: root/rem.mk
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-09-08 22:31:52 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-09-08 22:31:52 -0400
commitd0ba7baac942960857515b9ef02cc02746c223fc (patch)
tree2938937a606e2c7d1ee4e94123a930d3fa14115a /rem.mk
parent971d3841fe7298f52b59a4568338c8d62550b0f6 (diff)
downloadmakefile_templates-d0ba7baac942960857515b9ef02cc02746c223fc.tar.gz
makefile_templates-d0ba7baac942960857515b9ef02cc02746c223fc.zip
rem files have includes too
Diffstat (limited to 'rem.mk')
-rw-r--r--rem.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/rem.mk b/rem.mk
index 04b435a..bc72f92 100644
--- a/rem.mk
+++ b/rem.mk
@@ -8,12 +8,13 @@ dest_dir_rem ?= $(dest_dir)
destination_dirs += $(dest_dir_rem)
rem_files = $(wildcard *.rem)
+rem_includes = $(wildcard *.rem_tmplt)
html_from_rem = $(rem_files:%.rem=%.html)
html_from_rem_dest_targets = $(html_from_rem:%=$(dest_dir_rem)/%)
html_rem: $(html_from_rem)
-$(html_from_rem): %.html : %.rem
+$(html_from_rem): %.html : %.rem $(rem_includes)
remind -pp5 \
-iclass_starts='date($(CLASS_YEAR),$(CLASS_STARTING_MONTH),$(CLASS_STARTING_DAY))' \
-iclass_start_time='$(CLASS_START_TIME)' \