--- nono/doc/Makefile 2026/04/29 17:04:30 1.1 +++ nono/doc/Makefile 2026/04/29 17:05:52 1.1.1.7 @@ -1,15 +1,35 @@ # # nono -# Copyright (C) 2020 isaki@NetBSD.org +# Copyright (C) 2020 nono project +# Licensed under nono-license.txt +# + # # doc # -all: index.html +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 ../lib/header.h - php $> > $@ +.for f in ${TARGETS_VER} +${f}: ${f:.html=.php} common.php ../lib/nono.h + php ${f:.html=.php} > $@ +.endfor -CLEANFILES+= index.html +.for f in ${TARGETS_NOVER} +${f}: ${f:.html=.php} common.php + php ${f:.html=.php} > $@ +.endfor -.include "../Makefile.inc" +.include "../Makefile.rule"