blob: 653a7e44c1d49eddf06de3099d2318afb2efa040 (
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
29
30
31
32
33
34
35
36
37
38
39
40
|
From 7b04c4873c0a4510bdaf9145bf01ca34b3549fdb Mon Sep 17 00:00:00 2001
From: Li xin <lixin.fnst@cn.fujitsu.com>
Date: Thu, 4 Dec 2014 03:50:19 +0900
Subject: [PATCH 1/2] change mandir to DESTDIR
Upstream-Status: pending
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
man/Makefile.am | 2 +-
man/Makefile.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/man/Makefile.am b/man/Makefile.am
index 80d24d8..944bc57 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -16,5 +16,5 @@ install-data-local:
@sect=1; \
inst=`echo "nana" | sed '$(transform)'`.1; \
echo installing nana.1 as $(mandir)/man$$sect/$$inst; \
- $(INSTALL_DATA) $(srcdir)/nana.1 $(mandir)/man$$sect/$$inst
+ $(INSTALL_DATA) $(srcdir)/nana.1 $(DESTDIR)$(mandir)/man$$sect/$$inst
diff --git a/man/Makefile.in b/man/Makefile.in
index 6008b20..64bb84c 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -274,7 +274,7 @@ install-data-local:
@sect=1; \
inst=`echo "nana" | sed '$(transform)'`.1; \
echo installing nana.1 as $(mandir)/man$$sect/$$inst; \
- $(INSTALL_DATA) $(srcdir)/nana.1 $(mandir)/man$$sect/$$inst
+ $(INSTALL_DATA) $(srcdir)/nana.1 $(DESTDIR)$(mandir)/man$$sect/$$inst
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
--
1.8.4.2
|