~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for the MS HTML Help system in the HTML back end. As yet I
[sgt/halibut]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index
7530825
..
63299ad
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-1,3
+1,6
@@
+mandir=$(prefix)/man
+man1dir=$(mandir)/man1
+
CHAPTERS := $(SITE) blurb intro running input output licence manpage index
INPUTS = $(patsubst %,%.but,$(CHAPTERS))
CHAPTERS := $(SITE) blurb intro running input output licence manpage index
INPUTS = $(patsubst %,%.but,$(CHAPTERS))
@@
-13,5
+16,12
@@
index.html: $(INPUTS) $(HALIBUT)
halibut.1: manpage.but
$(HALIBUT) --man=halibut.1 manpage.but
halibut.1: manpage.but
$(HALIBUT) --man=halibut.1 manpage.but
+install:
+ $(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1
+
clean:
clean:
- rm -f *.html *.txt *.hlp *.cnt *.1 *.info* *.ps *.pdf
+ rm -f *.html *.txt *.hlp *.cnt *.1 *.info* *.ps *.pdf *.hh* *.chm
+
+chm: halibut.hhp
+halibut.hhp: $(INPUTS) $(HALIBUT) chm.but
+ $(HALIBUT) --html $(INPUTS) chm.but