qubes-linux-utils/udev/Makefile
pqg 86e7f7c2c8 Fix build (installation) on Archlinux
/lib is a symlink to /usr/lib on Arch, so /lib/blah... paths are
rejected when installation is attempted.
2015-12-15 14:19:24 +00:00

15 lines
594 B
Makefile

all:
install:
mkdir -p $(DESTDIR)$(SYSLIBDIR)/udev/rules.d
cp udev-qubes-block.rules $(DESTDIR)$(SYSLIBDIR)/udev/rules.d/99-qubes-block.rules
cp udev-qubes-usb.rules $(DESTDIR)$(SYSLIBDIR)/udev/rules.d/99-qubes-usb.rules
cp udev-qubes-misc.rules $(DESTDIR)$(SYSLIBDIR)/udev/rules.d/99-qubes-misc.rules
mkdir -p $(DESTDIR)$(LIBDIR)/qubes
cp udev-block-add-change $(DESTDIR)$(LIBDIR)/qubes/
cp udev-block-remove $(DESTDIR)$(LIBDIR)/qubes/
cp udev-block-cleanup $(DESTDIR)$(LIBDIR)/qubes/
cp udev-usb-add-change $(DESTDIR)$(LIBDIR)/qubes/
cp udev-usb-remove $(DESTDIR)$(LIBDIR)/qubes/