--- nono/doc/Makefile 2026/04/29 17:05:11 1.1.1.5 +++ nono/doc/Makefile 2026/04/29 17:05:26 1.1.1.6 @@ -8,18 +8,26 @@ # doc # -TARGETS= \ +TARGETS_VER= \ index.html \ + human.html \ + runx.html \ + +TARGETS_NOVER= \ changes.html \ upgrade-0.2.0.html \ upgrade-0.3.0.html \ +TARGETS= ${TARGETS_VER} ${TARGETS_NOVER} + all: ${TARGETS} -index.html: index.php common.php ../lib/header.h - php index.php > $@ +.for f in ${TARGETS_VER} +${f}: ${f:.html=.php} common.php ../lib/nono.h + php ${f:.html=.php} > $@ +.endfor -.for f in ${TARGETS:index.html=} +.for f in ${TARGETS_NOVER} ${f}: ${f:.html=.php} common.php php ${f:.html=.php} > $@ .endfor