File: 0001-conf-makefile

package info (click to toggle)
tgt 1%3A1.0.80-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,708 kB
  • sloc: ansic: 28,417; perl: 3,825; xml: 1,867; sh: 1,271; makefile: 293
file content (24 lines) | stat: -rw-r--r-- 844 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?Frederik_Sch=C3=BCler?= <fs@debian.org>
Date: Wed, 17 Jul 2019 13:08:45 -0300
Subject: Install config examples under /usr/share/doc

---
 conf/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/Makefile b/conf/Makefile
index bff222f..382a918 100644
--- a/conf/Makefile
+++ b/conf/Makefile
@@ -11,9 +11,9 @@ install:
 	if [ ! -f $(DESTDIR)$(sysconfdir)/tgt/targets.conf ] ; then \
 		install -m 644 targets.conf $(DESTDIR)$(sysconfdir)/tgt ; \
 	fi
-	install -d -m 755 $(DESTDIR)$(sysconfdir)/tgt/examples
+	install -d -m 755 $(DESTDIR)/usr/share/doc/tgt/examples
 	for f in $(EXAMPLES) ; do \
-		install -m 644 examples/$$f $(DESTDIR)$(sysconfdir)/tgt/examples ;\
+		install -m 644 examples/$$f $(DESTDIR)/usr/share/doc/tgt/examples ;\
 	done
 	install -d $(DESTDIR)$(sysconfdir)/tgt/conf.d