Browse Source

multipath-tools: add patch to make installation of systemd related files optional

user/chris/next/0.4
Christian Wiese 12 years ago
parent
commit
2fd1fc188d
  1. 50
      filesystem/multipath-tools/multipath-tools-0.4.9-optional-make-install-systemd.patch

50
filesystem/multipath-tools/multipath-tools-0.4.9-optional-make-install-systemd.patch

@ -0,0 +1,50 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../multipath-tools/multipath-tools-0.4.9-optional-make-install-systemd.patch
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
From 4e7fd34b0832dc13102366ba42cc57d9b38e28a0 Mon Sep 17 00:00:00 2001
From: Christian Wiese <chris@opensde.org>
Date: Mon, 3 Dec 2012 15:20:15 +0100
Subject: [PATCH] multipathd/Makefile: separate installation of systemd related files into 'install-systemd' target
Even if some people cannot imagine it, there are still people not using
systemd, thus we make the installation of systemd related files optional!
---
multipathd/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/multipathd/Makefile b/multipathd/Makefile
index 9553251..99b1884 100644
--- a/multipathd/Makefile
+++ b/multipathd/Makefile
@@ -35,11 +35,13 @@ install:
$(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) -m 755 $(EXEC) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) -d $(DESTDIR)$(rcdir)
- $(INSTALL_PROGRAM) -d $(DESTDIR)$(unitdir)
- $(INSTALL_PROGRAM) -m 644 $(EXEC).service $(DESTDIR)$(unitdir)
$(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir)
$(INSTALL_PROGRAM) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir)
+install-systemd:
+ $(INSTALL_PROGRAM) -d $(DESTDIR)$(unitdir)
+ $(INSTALL_PROGRAM) -m 644 $(EXEC).service $(DESTDIR)$(unitdir)
+
uninstall:
rm -f $(DESTDIR)$(bindir)/$(EXEC)
rm -f $(DESTDIR)$(rcdir)/$(EXEC)
--
1.7.2.3
Loading…
Cancel
Save