fix adapt patch

This commit is contained in:
Ward Nakchbandi 2023-03-04 16:28:28 +03:00
parent 9b9a0b9afe
commit b3d36d630e

View File

@ -1,20 +1,19 @@
diff -uraN a/Makefile b/Makefile
--- a/Makefile 1970-01-01 02:00:00.000000000 +0200
+++ b/Makefile 2022-10-04 19:12:45.651268524 +0300
@@ -0,0 +1,13 @@
--- a/Makefile 1970-01-01 02:00:00.000000000 +0200
+++ b/Makefile 2023-03-04 16:27:05.690744954 +0300
@@ -0,0 +1,12 @@
+VERSION=1.0
+
+.PHONY: install
+all:
+ true
+ true
+
+install:
+ echo "* Copying module into /usr/src..."
+ install -dm755 $(DESTDIR)/usr/src/xpad-noone
+ cp -r xpad-noone $(DESTDIR)/usr/src/
+ ln -sf /usr/src/xpad-noone $(DESTDIR)/usr/src/xpad-noone-"${VERSION}"
+ install -d $(DESTDIR)/etc/modules-load.d
+ cp -r modules-load-d-xpad-noone.conf $(DESTDIR)/etc/modules-load.d/xpad-noone.conf
+ echo "* Copying module into /usr/src..."
+ install -dm755 $(DESTDIR)/usr/src/xpad-noone
+ cp -r xpad-noone $(DESTDIR)/usr/src/
+ ln -sf /usr/src/xpad-noone $(DESTDIR)/usr/src/xpad-noone-"${VERSION}"
+ install -d $(DESTDIR)/etc/modules-load.d
+ cp -r modules-load-d-xpad-noone.conf $(DESTDIR)/etc/modules-load.d/xpad-noone.conf
diff -uraN a/modules-load-d-xpadneo.conf b/modules-load-d-xpadneo.conf
--- a/modules-load-d-xpad-noone.conf 1970-01-01 02:00:00.000000000 +0200
+++ b/modules-load-d-xpad-noone.conf 2022-09-25 20:44:46.000000000 +0300