summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2018-01-16 17:16:05 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2018-01-16 17:16:05 -0500
commit0bbd6a5fbacb26044f62173c1b7e55af5053be30 (patch)
tree007b5473d6cfc7168bd311d34d15d44f30c92b9d
parent16333a5612e9e79500e391757f5d8a8b1cc23b8e (diff)
downloadmakefile_templates-0bbd6a5fbacb26044f62173c1b7e55af5053be30.tar.gz
makefile_templates-0bbd6a5fbacb26044f62173c1b7e55af5053be30.zip
using start day from makefile
-rw-r--r--rem.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rem.mk b/rem.mk
index 1d8be29..beeeb0a 100644
--- a/rem.mk
+++ b/rem.mk
@@ -14,7 +14,7 @@ html_from_rem_dest_targets = $(html_from_rem:%=$(dest_dir_rem)/%)
html_rem: $(html_from_rem)
$(html_from_rem): %.html : %.rem
- remind -p5 $< $(CLASS_STARTING_DAY) | ./bin/rem2html -title "Calendar" | \
+ remind -p5 -iclass_starts='date($(CLASS_STARTING_YEAR),$(CLASS_STARTING_MONTH),$(CLASS_STARTING_DAY))' $< $(CLASS_STARTING_YEAR)/$(CLASS_STARTING_MONTH)/$(CLASS_STARTING_DAY) | ./bin/rem2html -title "Calendar" | \
sed 's/<head>/<head>\n<meta name="viewport" content="width=device-width, initial-scale=1.0">/' | \
cat > $@