mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-23 00:42:13 -07:00
Files

and Makefile.doc a command-line parameter 'BINPREFIX' which will be prepended to all the game binary names. E.g. 'make BINPREFIX=sgt-' and 'make BINPREFIX=sgt- install', and correspondingly 'make -f Makefile.doc BINPREFIX=sgt-'. Also included in this commit by mistake, changes to singles.c to add \n to the end of all its debug() statements. I meant to commit that separately. Oops. [originally from svn r9606]
18 lines
463 B
Makefile
18 lines
463 B
Makefile
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]
|