From 606143c8d214f7bb7271d40d514eb23a86547b3c Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Mon, 12 Jan 2004 21:17:22 -0800 Subject: [PATCH] [PATCH] udev - Makefile error I get the following error on install: pim:/home/kay/src/udev.test# make install sed -e "s:@udevdir@:/udev:" < etc/udev/udev.conf.in > etc/udev/udev.conf /usr/bin/install -c -d /etc/udev/ /usr/bin/install -c -d /udev /usr/bin/install -c -d /etc/hotplug.d/default /usr/bin/install -c -D udev /sbin/udev /bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [install] Error 2 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 36f0272d..5e641292 100644 --- a/Makefile +++ b/Makefile @@ -297,10 +297,10 @@ install: install-config install-dbus-policy all $(INSTALL) -d $(DESTDIR)$(hotplugdir) $(INSTALL_PROGRAM) -D $(ROOT) $(DESTDIR)$(sbindir)/$(ROOT) @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 - else - $(INSTALL_PROGRAM) -D etc/init.d/udev $(DESTDIR)$(initdir)/udev + $(INSTALL_PROGRAM) -D etc/init.d/udev.init.LSB $(DESTDIR)$(initdir)/udev; \ + ln -s $(DESTDIR)$(initdir)/udev $(sbin_dir)/rcudev; \ + else \ + $(INSTALL_PROGRAM) -D etc/init.d/udev $(DESTDIR)$(initdir)/udev; \ fi $(INSTALL_DATA) -D udev.8 $(DESTDIR)$(mandir)/man8/udev.8 - rm -f $(DESTDIR)$(hotplugdir)/udev.hotplug -- 2.39.5