|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
|
#
|
|
|
|
|
# Filename: package/.../udev/overwrite_rules.patch
|
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project
|
|
|
|
|
# Copyright (C) 2007 - 2009 The OpenSDE Project
|
|
|
|
|
#
|
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
|
#
|
|
|
|
@ -14,20 +14,16 @@
|
|
|
|
|
# version.
|
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
|
|
--- ./Makefile.orig 2007-10-11 18:27:00.000000000 -0400
|
|
|
|
|
+++ ./Makefile 2007-10-11 18:29:46.000000000 -0400
|
|
|
|
|
@@ -227,13 +227,9 @@
|
|
|
|
|
|
|
|
|
|
--- ./Makefile.orig 2009-02-01 21:38:50.000000000 +0200
|
|
|
|
|
+++ ./Makefile 2009-02-01 21:41:24.000000000 +0200
|
|
|
|
|
@@ -220,9 +220,7 @@
|
|
|
|
|
install-config:
|
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(libudevdir)/rules.d
|
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(configdir)/rules.d
|
|
|
|
|
- @ if [ ! -r $(DESTDIR)$(configdir)/udev.conf ]; then \
|
|
|
|
|
- $(INSTALL_DATA) etc/udev/udev.conf $(DESTDIR)$(configdir); \
|
|
|
|
|
- $(INSTALL_DATA) udev.conf $(DESTDIR)$(configdir); \
|
|
|
|
|
- fi
|
|
|
|
|
+ @ $(INSTALL_DATA) etc/udev/udev.conf $(DESTDIR)$(configdir);
|
|
|
|
|
@ for i in etc/udev/rules.d/*.rules; do \
|
|
|
|
|
- if [ ! -r $(DESTDIR)$(configdir)/rules.d/$$(basename $$i) ]; then \
|
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(configdir)/rules.d; \
|
|
|
|
|
- fi \
|
|
|
|
|
done
|
|
|
|
|
+ $(INSTALL_DATA) udev.conf $(DESTDIR)$(configdir);
|
|
|
|
|
cp rules/rules.d/* $(DESTDIR)$(libudevdir)/rules.d
|
|
|
|
|
@ extras="$(EXTRAS)"; for target in $$extras; do \
|
|
|
|
|
$(MAKE) -C $$target $@ || exit 1; \
|
|
|
|
|