blob: 98c30e45ce3cf9a9d6ffa438ca19c30abf8944d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-Makefile,v 1.1 2013/04/18 07:39:18 wiz Exp $
Make man page installation overridable.
--- Makefile.orig 2013-03-29 15:31:34.000000000 +0000
+++ Makefile
@@ -4,6 +4,7 @@
INSTALL=install
prefix?=/usr/local
+mandir?=share/man
target=$(DESTDIR)$(prefix)
VERS=$(shell sed <reposurgeon -n -e '/version=\(.*\)/s//\1/p')
@@ -50,11 +51,11 @@ cyreposurgeon: reposurgeon
install: all
$(INSTALL) -d "$(target)/bin"
$(INSTALL) -d "$(target)/share/doc/reposurgeon"
- $(INSTALL) -d "$(target)/share/man/man1"
+ $(INSTALL) -d "$(target)/$(mandir)/man1"
$(INSTALL) -m 755 reposurgeon repopuller repodiffer "$(target)/bin"
$(INSTALL) -m 644 README NEWS TODO *.html \
"$(target)/share/doc/reposurgeon"
- $(INSTALL) -m 644 *.1 "$(target)/share/man/man1"
+ $(INSTALL) -m 644 *.1 "$(target)/$(mandir)/man1"
clean:
rm -fr *~ *.1 *.html *.tar.gz MANIFEST SHIPPER.*
|