summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-26 19:32:01 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:19 -0700
commit245f9f52cec28b0377376beec222c8d5c0d07276 (patch)
tree9950c2a39305e220b0cb441056c2bab7ff89c99b
parent8202eb32b97a236dac725bfe24e390840ded7098 (diff)
[PATCH] add udevinfo to install target of Makefile
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 23b6ff87d8..7846086294 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ USE_DBUS = false
ROOT = udev
DAEMON = udevd
SENDER = udevsend
-HELPERS = udevinfo
+HELPER = udevinfo
VERSION = 014_bk
INSTALL_DIR = /usr/local/bin
RELEASE_NAME = $(ROOT)-$(VERSION)
@@ -165,7 +165,7 @@ endif
CFLAGS += -I$(PWD)/libsysfs
-all: $(ROOT) $(UDEVD) $(HELPERS)
+all: $(ROOT) $(UDEVD) $(HELPER)
@extras="$(EXTRAS)" ; for target in $$extras ; do \
echo $$target ; \
$(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \
@@ -248,7 +248,7 @@ $(ROOT): udev.o $(OBJS) $(HEADERS) $(GEN_HEADERS)
$(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(STRIPCMD) $@
-$(HELPERS): udevinfo.o $(OBJS) $(HEADERS)
+$(HELPER): udevinfo.o $(OBJS) $(HEADERS)
$(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o logging.o udev_config.o udevdb.o $(SYSFS) $(TDB) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(STRIPCMD) $@
@@ -336,6 +336,7 @@ install: install-config install-dbus-policy all
$(INSTALL) -d $(DESTDIR)$(udevdir)
$(INSTALL) -d $(DESTDIR)$(hotplugdir)
$(INSTALL_PROGRAM) -D $(ROOT) $(DESTDIR)$(sbindir)/$(ROOT)
+ $(INSTALL_PROGRAM) -D $(HELPER) $(DESTDIR)$(sbindir)/$(HELPER)
@if [ "x$(USE_LSB)" = "xtrue" ]; then \
$(INSTALL_PROGRAM) -D etc/init.d/udev.init.LSB $(DESTDIR)$(initdir)/udev; \
ln -s $(DESTDIR)$(initdir)/udev $(sbin_dir)/rcudev; \
@@ -359,6 +360,7 @@ uninstall: uninstall-dbus-policy
- rm $(initdir)/udev
- rm $(mandir)/man8/udev.8
- rm $(sbindir)/$(ROOT)
+ - rm $(sbindir)/$(HELPER)
- rmdir $(hotplugdir)
- rmdir $(configdir)
- rmdir $(udevdir)