mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
[PATCH] don't install distribution specific init script on "make install"
Leave that part up to the one who itegrates udev into a system as there is much more to care of than to call a init stript for a dynamic dev.
This commit is contained in:
parent
0ba5bb106b
commit
c64081980e
11
Makefile
11
Makefile
@ -374,14 +374,6 @@ small_release: $(DISTFILES) spotless
|
||||
@rm -rf $(DISTDIR)
|
||||
@echo "Built $(RELEASE_NAME).tar.gz"
|
||||
|
||||
|
||||
install-initscript: etc/init.d/udev etc/init.d/udev.init.LSB
|
||||
@if [ -f /etc/redhat-release ]; then \
|
||||
$(INSTALL_DATA) -D etc/init.d/udev $(DESTDIR)$(initdir)/udev; \
|
||||
elif [ -f /etc/SuSE-release ]; then \
|
||||
$(INSTALL_DATA) -D etc/init.d/udev.init.LSB $(DESTDIR)$(initdir)/udev; \
|
||||
fi
|
||||
|
||||
install-config:
|
||||
$(INSTALL) -d $(DESTDIR)$(configdir)/rules.d
|
||||
$(INSTALL) -d $(DESTDIR)$(configdir)/permissions.d
|
||||
@ -424,7 +416,7 @@ uninstall-man:
|
||||
- rm $(mandir)/man8/udevd.8
|
||||
- rm $(mandir)/man8/udevsend.8
|
||||
|
||||
install: install-initscript install-config install-man install-dev.d all
|
||||
install: install-config install-man install-dev.d all
|
||||
$(INSTALL) -d $(DESTDIR)$(udevdir)
|
||||
$(INSTALL) -d $(DESTDIR)$(hotplugdir)
|
||||
$(INSTALL_PROGRAM) -D $(ROOT) $(DESTDIR)$(sbindir)/$(ROOT)
|
||||
@ -452,7 +444,6 @@ uninstall: uninstall-man uninstall-dev.d
|
||||
- rmdir $(configdir)/rules.d
|
||||
- rmdir $(configdir)/permissions.d
|
||||
- rmdir $(configdir)
|
||||
- rm $(initdir)/udev
|
||||
- rm $(sbindir)/$(ROOT)
|
||||
- rm $(sbindir)/$(DAEMON)
|
||||
- rm $(sbindir)/$(SENDER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user