--- nono/doc/Makefile 2026/04/29 17:04:57 1.1.1.3 +++ nono/doc/Makefile 2026/04/29 17:05:52 1.1.1.7 @@ -8,20 +8,28 @@ # doc # -TARGETS= \ +TARGETS_VER= \ index.html \ - changes.html \ - upgrade-0.2.0.html \ + human.html \ + runx.html \ -all: ${TARGETS} +TARGETS_NOVER= \ + changes.html \ + upgrade-1.2.0.html \ + upgrade-1.6.0.html \ -index.html: index.php common.php ../lib/header.h - php index.php ../lib/header.h > $@ +TARGETS= ${TARGETS_VER} ${TARGETS_NOVER} -changes.html: changes.php common.php - php changes.php > $@ +all: ${TARGETS} -upgrade-0.2.0.html: upgrade-0.2.0.php common.php - php upgrade-0.2.0.php > $@ +.for f in ${TARGETS_VER} +${f}: ${f:.html=.php} common.php ../lib/nono.h + php ${f:.html=.php} > $@ +.endfor + +.for f in ${TARGETS_NOVER} +${f}: ${f:.html=.php} common.php + php ${f:.html=.php} > $@ +.endfor .include "../Makefile.rule"