X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=Makefile.doc;h=0fd28db5ed51100bf2cbba3e65519dc91c13310e;hb=b9b73adb53b3ffb09a2e8c9682351bf892634470;hp=160dad05422a9efe9aae6305e658eab022536f7c;hpb=f825732316a7f20cfdd138513e802c2b7ffbf074;p=sgt-puzzles.git diff --git a/Makefile.doc b/Makefile.doc index 160dad0..0fd28db 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.chm puzzles.hlp puzzles.txt HACKING + +preprocessed.but: puzzles.but + sed 's/PREFIX-/$(BINPREFIX)/g' puzzles.but > preprocessed.but + +puzzles.chm: preprocessed.but + halibut --chm=puzzles.chm preprocessed.but +puzzles.hlp: preprocessed.but + halibut --winhelp=puzzles.hlp preprocessed.but +puzzles.txt: preprocessed.but + halibut --text=puzzles.txt preprocessed.but + +HACKING: devel.but + halibut --text=HACKING devel.but + +clean: + rm -f puzzles.hlp puzzles.txt preprocessed.but HACKING *.html *.hh[pck]