Remove the error message `no text found in paragraph'. Aaron Brown
[sgt/halibut] / doc / Makefile
index 8b56d43..cfdd943 100644 (file)
@@ -1,3 +1,6 @@
+mandir=$(prefix)/man
+man1dir=$(mandir)/man1
+
 CHAPTERS := $(SITE) blurb intro running input output licence manpage index
 
 INPUTS = $(patsubst %,%.but,$(CHAPTERS))
@@ -13,5 +16,8 @@ index.html: $(INPUTS) $(HALIBUT)
 halibut.1: manpage.but
        $(HALIBUT) --man=halibut.1 manpage.but
 
+install:
+       $(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1
+
 clean:
-       rm -f *.html *.txt *.hlp *.cnt *.1 *.info*
+       rm -f *.html *.txt *.hlp *.cnt *.1 *.info* *.ps *.pdf