fix makefile

This commit is contained in:
Ward Nakchbandi 2023-03-04 16:39:10 +03:00
parent 5ce5621e93
commit 04dd0fc941

View File

@ -1,12 +1,13 @@
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