* [PATCH] udev - Makefile error
@ 2004-01-11 4:02 Kay Sievers
2004-01-12 21:17 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2004-01-11 4:02 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
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
thanks,
Kay
[-- Attachment #2: 03-Makefile.diff --]
[-- Type: text/plain, Size: 820 bytes --]
===== Makefile 1.73 vs edited =====
--- 1.73/Makefile Sun Jan 4 20:13:39 2004
+++ edited/Makefile Sun Jan 11 04:56:59 2004
@@ -297,10 +297,10 @@
$(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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] udev - Makefile error
2004-01-11 4:02 [PATCH] udev - Makefile error Kay Sievers
@ 2004-01-12 21:17 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-01-12 21:17 UTC (permalink / raw)
To: linux-hotplug
On Sun, Jan 11, 2004 at 05:02:37AM +0100, Kay Sievers wrote:
> 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
Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-12 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-11 4:02 [PATCH] udev - Makefile error Kay Sievers
2004-01-12 21:17 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.