From e18bd73b7245a6374352aafe72d0e1736227c7e1 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 29 Mar 2008 16:29:36 +0100 Subject: [PATCH] udevadm: remove old man page links and compat links for debugging tools --- Makefile | 20 +------------------- TODO | 5 ++--- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index a53bd1fe..a560ef32 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,6 @@ prefix ?= etcdir = ${prefix}/etc sbindir = ${prefix}/sbin usrbindir = ${prefix}/usr/bin -usrsbindir = ${prefix}/usr/sbin libudevdir = ${prefix}/lib/udev mandir = ${prefix}/usr/share/man configdir = ${etcdir}/udev @@ -241,12 +240,6 @@ install-man: $(INSTALL) -d $(DESTDIR)$(mandir)/man8 $(INSTALL_DATA) udevd.8 $(DESTDIR)$(mandir)/man8/udevd.8 $(INSTALL_DATA) udevadm.8 $(DESTDIR)$(mandir)/man8/udevadm.8 - ln -f -s udevadm.8 $(DESTDIR)$(mandir)/man8/udevinfo.8 - ln -f -s udevadm.8 $(DESTDIR)$(mandir)/man8/udevtest.8 - ln -f -s udevadm.8 $(DESTDIR)$(mandir)/man8/udevtrigger.8 - ln -f -s udevadm.8 $(DESTDIR)$(mandir)/man8/udevsettle.8 - ln -f -s udevadm.8 $(DESTDIR)$(mandir)/man8/udevmonitor.8 - ln -f -s udevadm.8 $(DESTDIR)$(mandir)/man8/udevcontrol.8 @extras="$(EXTRAS)"; for target in $$extras; do \ $(MAKE) -C $$target $@ || exit 1; \ done; @@ -255,13 +248,7 @@ install-man: uninstall-man: - rm -f $(DESTDIR)$(mandir)/man7/udev.7 - rm -f $(DESTDIR)$(mandir)/man8/udevadm.8 - - rm -f $(DESTDIR)$(mandir)/man8/udevinfo.8 - - rm -f $(DESTDIR)$(mandir)/man8/udevtest.8 - rm -f $(DESTDIR)$(mandir)/man8/udevd.8 - - rm -f $(DESTDIR)$(mandir)/man8/udevtrigger.8 - - rm -f $(DESTDIR)$(mandir)/man8/udevsettle.8 - - rm -f $(DESTDIR)$(mandir)/man8/udevmonitor.8 - - rm -f $(DESTDIR)$(mandir)/man8/udevcontrol.8 @ extras="$(EXTRAS)"; for target in $$extras; do \ $(MAKE) -C $$target $@ || exit 1; \ done; @@ -274,11 +261,8 @@ install-bin: ln -f -s udevadm $(DESTDIR)$(sbindir)/udevtrigger ln -f -s udevadm $(DESTDIR)$(sbindir)/udevsettle ln -f -s udevadm $(DESTDIR)$(sbindir)/udevcontrol - $(INSTALL) -d $(DESTDIR)$(usrsbindir) - ln -f -s $(sbindir)/udevadm $(DESTDIR)$(usrsbindir)/udevmonitor - mkdir -p -m 0755 $(DESTDIR)$(usrbindir) + $(INSTALL) -d $(DESTDIR)$(usrbindir) ln -f -s $(sbindir)/udevadm $(DESTDIR)$(usrbindir)/udevinfo - ln -f -s $(sbindir)/udevadm $(DESTDIR)$(usrbindir)/udevtest @extras="$(EXTRAS)"; for target in $$extras; do \ $(MAKE) -C $$target $@ || exit 1; \ done; @@ -295,9 +279,7 @@ uninstall-bin: - rm -f $(DESTDIR)$(sbindir)/udevtrigger - rm -f $(DESTDIR)$(sbindir)/udevsettle - rm -f $(DESTDIR)$(sbindir)/udevcontrol - - rm -f $(DESTDIR)$(usrsbindir)/udevmonitor - rm -f $(DESTDIR)$(usrbindir)/udevinfo - - rm -f $(DESTDIR)$(usrbindir)/udevtest ifndef DESTDIR - killall udevd - rm -rf /dev/.udev diff --git a/TODO b/TODO index 7f7b1b0f..7c040794 100644 --- a/TODO +++ b/TODO @@ -5,9 +5,8 @@ These things will change in future udev versions: o warn if BUS, ID, SYSFS are used as keys (they are SUBSYSTEMS, KERNELS, ATTRS now) + o warn if links to udevadm are used These things are deprecated and scheduled for removal in a future udev version: - o remove man page symlinks for old tool names - - o some day, remove the symlinks to udevadm + o some day, remove all symlinks to udevadm -- 2.39.5