blob: 0fb31c461fcfdb2bc9bf9d96a3331e935fbda1b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.2 2016/04/01 11:41:42 jperkin Exp $
Use pkgsrc layout.
--- doc/Makefile.orig 2014-12-19 10:03:18.000000000 +0000
+++ doc/Makefile
@@ -1,4 +1,4 @@
-mandir=$(prefix)/man
+mandir=$(prefix)/${PKGMANDIR}
man1dir=$(mandir)/man1
CHAPTERS := $(SITE) blurb intro running input output licence manpage index
@@ -17,7 +17,8 @@ halibut.1: manpage.but
$(HALIBUT) --man=halibut.1 manpage.but
install:
- $(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1
+ mkdir -p $(DESTDIR)$(man1dir)
+ $(INSTALL) -m 644 halibut.1 $(DESTDIR)$(man1dir)/halibut.1
clean:
rm -f *.html *.txt *.hlp *.cnt *.1 *.info* *.ps *.pdf *.hh* *.chm
|