mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-24 07:20:52 +07:00
build-sys: forcefully create links
If link already existed we would fail. Really not important for packagers (the link should not exist), but for those who manually install it.
This commit is contained in:
parent
1592b0efdf
commit
12fd9cd55c
12
Makefile.am
12
Makefile.am
@ -98,12 +98,12 @@ install-exec-hook:
|
||||
mv $(DESTDIR)$(libdir)/libkmod.so.* $(DESTDIR)$(rootlibdir); \
|
||||
fi
|
||||
if BUILD_TOOLS
|
||||
ln -s kmod $(DESTDIR)$(bindir)/insmod
|
||||
ln -s kmod $(DESTDIR)$(bindir)/rmmod
|
||||
ln -s kmod $(DESTDIR)$(bindir)/lsmod
|
||||
ln -s kmod $(DESTDIR)$(bindir)/modprobe
|
||||
ln -s kmod $(DESTDIR)$(bindir)/modinfo
|
||||
ln -s kmod $(DESTDIR)$(bindir)/depmod
|
||||
ln -sf kmod $(DESTDIR)$(bindir)/insmod
|
||||
ln -sf kmod $(DESTDIR)$(bindir)/rmmod
|
||||
ln -sf kmod $(DESTDIR)$(bindir)/lsmod
|
||||
ln -sf kmod $(DESTDIR)$(bindir)/modprobe
|
||||
ln -sf kmod $(DESTDIR)$(bindir)/modinfo
|
||||
ln -sf kmod $(DESTDIR)$(bindir)/depmod
|
||||
$(MKDIR_P) $(DESTDIR)$(sbindir) && \
|
||||
relpath=$$(tools/shortest-relpath $(DESTDIR)$(bindir)/kmod $(DESTDIR)$(sbindir)) && \
|
||||
cd $(DESTDIR)$(sbindir) && \
|
||||
|
Loading…
Reference in New Issue
Block a user