html.mk

static html creation framework using make(1) and cpp(1)
git clone git://0x30.net/html.mk
Log | Files | Refs | README | LICENSE

commit 54e278b097e6d05f2f43aa99655b9a0f7b836c2c
parent fb9492cc072a25c8852fa78fedb8a02f818d557e
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Mon, 22 Nov 2021 18:54:09 +0000

mk: use .html suffix instead of .gen

this will be clearer when it is in use.

Diffstat:
Mbsd.html.mk | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsd.html.mk b/bsd.html.mk @@ -122,10 +122,10 @@ depend: ${SRCS:.in=.d} _SUBDIRUSE # Use full names for day of week and month instead of default abbreviated ones. # FMT="+%A %B %e %H:%M:%S %Z %Y" -_timestamp.gen: ${SRCS} +_updated.html: ${SRCS} echo "<time datetime='`date +%Y-%m-%d`'>`date ${FMT}`</time>" > $@ -_created.gen: +_created.html: echo "<time datetime='`date +%Y-%m-%d`'>`date ${FMT}`</time>" > $@ #