OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.9 KiB

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