Fix building Fedora package after Archlinux build fixes
LIBDIR on Fedora is /usr/lib64, not something that we want for scripts, Also make sure to export SYSLIBDIR.
This commit is contained in:
parent
86e7f7c2c8
commit
e23cbbc261
3
Makefile
3
Makefile
@ -3,10 +3,11 @@ LIBDIR ?= /usr/lib64
|
||||
else
|
||||
LIBDIR ?= /usr/lib
|
||||
endif
|
||||
SCRIPTSDIR ?= /usr/lib/qubes
|
||||
SYSLIBDIR ?= /lib
|
||||
INCLUDEDIR ?= /usr/include
|
||||
|
||||
export LIBDIR INCLUDEDIR
|
||||
export LIBDIR SCRIPTSDIR SYSLIBDIR INCLUDEDIR
|
||||
|
||||
help:
|
||||
echo "Use rpmbuild to compile this pacakge"
|
||||
|
@ -6,9 +6,9 @@ install:
|
||||
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/
|
||||
mkdir -p $(DESTDIR)$(SCRIPTSDIR)
|
||||
cp udev-block-add-change $(DESTDIR)$(SCRIPTSDIR)
|
||||
cp udev-block-remove $(DESTDIR)$(SCRIPTSDIR)
|
||||
cp udev-block-cleanup $(DESTDIR)$(SCRIPTSDIR)
|
||||
cp udev-usb-add-change $(DESTDIR)$(SCRIPTSDIR)
|
||||
cp udev-usb-remove $(DESTDIR)$(SCRIPTSDIR)
|
||||
|
Loading…
Reference in New Issue
Block a user