diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-06-02 19:40:49 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-06-02 19:40:49 +0000 |
| commit | 419379c9653fdb6c4974a8579d1a8918cc5d7e53 (patch) | |
| tree | 60f964437bcfbf96d18ce58727c0c9b363d4a805 /doc/Makefile | |
| parent | acc2deba308bb4746d5a48f5b19f5a40b63f0cdd (diff) | |
| download | halibut-419379c9653fdb6c4974a8579d1a8918cc5d7e53.zip halibut-419379c9653fdb6c4974a8579d1a8918cc5d7e53.tar.gz halibut-419379c9653fdb6c4974a8579d1a8918cc5d7e53.tar.bz2 halibut-419379c9653fdb6c4974a8579d1a8918cc5d7e53.tar.xz | |
rjk's `make install' patch.
[originally from svn r4267]
Diffstat (limited to 'doc/Makefile')
| -rw-r--r-- | doc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile index 7530825..cfdd943 100644 --- 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)) @@ -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* *.ps *.pdf |