X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=Makefile.doc;h=0fd28db5ed51100bf2cbba3e65519dc91c13310e;hb=a0a581c8b5422bf0c5ed3fde6aa25811e4eb89fc;hp=ff673574fd1ddeb143593f1fb61237a8743eeb38;hpb=d1cfcffa05958114846836fddcd186b156eeac37;p=sgt-puzzles.git diff --git a/Makefile.doc b/Makefile.doc index ff67357..0fd28db 100644 --- a/Makefile.doc +++ b/Makefile.doc @@ -1,14 +1,17 @@ -all: puzzles.hlp puzzles.txt HACKING +all: puzzles.chm puzzles.hlp puzzles.txt HACKING -puzzles.hlp puzzles.txt: puzzles.but - halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but +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 -chm: puzzles.hhp -puzzles.hhp: puzzles.but chm.but - halibut --html puzzles.but chm.but - clean: - rm -f puzzles.hlp puzzles.txt HACKING *.html *.hh[pck] + rm -f puzzles.hlp puzzles.txt preprocessed.but HACKING *.html *.hh[pck]