Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
tgt
tgt-install-examples-in-documentation-dir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tgt-install-examples-in-documentation-dir.patch of Package tgt
From 4711fc19b6b83d572fd6eafd64a834559cae8ce2 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Wed, 26 Feb 2014 12:50:09 +0100 Subject: Install examples in documentation directory The examples should be installed in the documentation directory, not the standard configuration directory. Signed-off-by: Dirk Mueller <dmueller@suse.com> Acked-by: Hannes Reinecke <hare@suse.de> --- conf/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Index: tgt-1.0.92/conf/Makefile =================================================================== --- tgt-1.0.92.orig/conf/Makefile +++ tgt-1.0.92/conf/Makefile @@ -1,4 +1,5 @@ sysconfdir ?= /etc +docdatadir ?= /usr/share/doc/packages/ EXAMPLES = targets.conf.example targets.conf.vtl.L700 targets.conf.vtl.MSL2024 @@ -11,9 +12,10 @@ 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)$(sysconfdir)/tgt/conf.d + install -d -m 755 $(DESTDIR)$(docdatadir)/tgt/examples for f in $(EXAMPLES) ; do \ - install -m 644 examples/$$f $(DESTDIR)$(sysconfdir)/tgt/examples ;\ + install -m 644 examples/$$f $(DESTDIR)$(docdatadir)/tgt/examples ;\ done install -d $(DESTDIR)$(sysconfdir)/tgt/conf.d
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor