summaryrefslogtreecommitdiff
path: root/net-dns/updatedd/files/respect-docdir.patch
blob: 504220a4eb8f0df0e1f060e848e1d3e1b6c1bde2 (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
From 8e484c4b0ceac8e7c37492fdf5e5b89f18451277 Mon Sep 17 00:00:00 2001
From: Michael Orlitzky <michael@orlitzky.com>
Date: Sat, 14 Jan 2017 01:06:48 -0500
Subject: [PATCH 1/1] Use the autotools "docdir" in Documentation/Makefile.in.

---
 Documentation/Makefile.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in
index 8c87281..c213c09 100644
--- a/Documentation/Makefile.in
+++ b/Documentation/Makefile.in
@@ -325,12 +325,12 @@ uninstall-am: uninstall-info-am uninstall-local
 
 
 install-data-local:
-	$(INSTALL) -d $(DESTDIR)$(datadir)/doc/updatedd
-	$(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(datadir)/doc/updatedd
-	$(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(datadir)/doc/updatedd
+	$(INSTALL) -d $(DESTDIR)$(docdir)
+	$(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(docdir)
+	$(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(docdir)
 
 uninstall-local:
-	$(RM) -r $(DESTDIR)$(datadir)/doc/updatedd
+	$(RM) -r $(DESTDIR)$(docdir)
 # 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.
 .NOEXPORT:
-- 
2.10.2