X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/80ef59c713c67acdda99b6fce0c91721211f1f96..HEAD:/Makefile.doc diff --git a/Makefile.doc b/Makefile.doc index 160dad0..c7d6946 100644 --- a/Makefile.doc +++ b/Makefile.doc @@ -1,2 +1,17 @@ -puzzles.hlp puzzles.txt: puzzles.but - halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but +all: puzzles.hlp puzzles.txt HACKING + +preprocessed.but: puzzles.but + sed 's/PREFIX-/$(BINPREFIX)/g' puzzles.but > preprocessed.but + +puzzles.hlp puzzles.txt: preprocessed.but + halibut --winhelp=puzzles.hlp --text=puzzles.txt preprocessed.but + +HACKING: devel.but + halibut --text=HACKING devel.but + +chm: puzzles.hhp +puzzles.hhp: puzzles.but chm.but + halibut --html puzzles.but chm.but + +clean: + rm -f puzzles.hlp puzzles.txt preprocessed.but HACKING *.html *.hh[pck]