Magellan Linux

Contents of /trunk/udev/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1503 - (show annotations) (download)
Fri Aug 26 19:14:28 2011 UTC (13 years, 2 months ago) by niro
File size: 918 byte(s)
-only install write_root_link_rule and sysvinit script if requested
1 # udev rules
2 # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.10 2010-08-19 14:15:36 niro Exp $
3
4 DESTDIR=
5
6 sysconfdir=/etc
7 rcscriptdir=${sysconfdir}/rc.d/init.d
8 modprobedir=${sysconfdir}/modprobe.d
9 udevdir=/lib/udev
10
11 all: install
12
13 install-sysvinit:
14 # install rc-script
15 install -d -m 0755 $(DESTDIR)${sysconfdir}
16 install -d -m 0755 $(DESTDIR)${rcscriptdir}
17 install -m 0755 udev.rc $(DESTDIR)${rcscriptdir}/udev
18
19 install-writerootlink:
20 # generic udev helper scripts
21 install -d -m 0755 $(DESTDIR)${udevdir}
22 install -m 0755 write_root_link_rule.sh $(DESTDIR)${udevdir}/write_root_link_rule
23
24 install:
25 install -d -m 0755 $(DESTDIR)${sysconfdir}
26
27 # install our blacklist
28 install -d -m 0755 $(DESTDIR)${modprobedir}
29 install -m 0644 blacklist $(DESTDIR)${modprobedir}/blacklist.conf
30 # install our pnpaliases; now excluded from 50-udev.rules
31 install -m 0644 pnp-aliases $(DESTDIR)${modprobedir}/pnp-aliases.conf