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.

46 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../udev/scsi_id.config.patch.disabled
  5. # Copyright (C) 2007 - 2009 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. install scsi_id.config in etc/udev instead of etc/ - mnemoc
  17. --- ./extras/scsi_id/Makefile.orig 2008-06-12 08:24:30.000000000 +0300
  18. +++ ./extras/scsi_id/Makefile 2009-02-01 20:44:37.000000000 +0200
  19. @@ -44,7 +44,7 @@
  20. $(E) " GENHDR " $@
  21. $(Q) echo "/* Generated by make. */" > $@
  22. $(Q) echo \#define SCSI_ID_VERSION \"$(SCSI_ID_VERSION)\" >> $@
  23. - $(Q) echo \#define SCSI_ID_CONFIG_FILE \"$(etcdir)/scsi_id.config\" >> $@
  24. + $(Q) echo \#define SCSI_ID_CONFIG_FILE \"$(configdir)/scsi_id.config\" >> $@
  25. # man pages
  26. %.8: %.xml
  27. @@ -76,11 +76,11 @@
  28. .PHONY: uninstall-man
  29. install-config:
  30. - @ if [ ! -r $(DESTDIR)$(etcdir)/scsi_id.config ]; then \
  31. - echo $(INSTALL) -d $(DESTDIR)$(etcdir); \
  32. - echo $(INSTALL_DATA) ./scsi_id.config $(DESTDIR)$(etcdir); \
  33. - $(INSTALL) -d $(DESTDIR)$(etcdir); \
  34. - $(INSTALL_DATA) ./scsi_id.config $(DESTDIR)$(etcdir)/scsi_id.config; \
  35. + @ if [ ! -r $(DESTDIR)$(configdir)/scsi_id.config ]; then \
  36. + echo $(INSTALL) -d $(DESTDIR)$(configdir)\
  37. + echo $(INSTALL_DATA) ./scsi_id.config $(DESTDIR)$(configdir); \
  38. + $(INSTALL) -d $(DESTDIR)$(configdir); \
  39. + $(INSTALL_DATA) ./scsi_id.config $(DESTDIR)$(configdir)/scsi_id.config; \
  40. fi
  41. .PHONY: install-config