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