Annotation of /trunk/udev/Makefile
Parent Directory | Revision Log
Revision 1503 -
(hide annotations)
(download)
Fri Aug 26 19:14:28 2011 UTC (13 years, 2 months ago) by niro
File size: 918 byte(s)
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 | niro | 719 | # udev rules |
2 | niro | 1094 | # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.10 2010-08-19 14:15:36 niro Exp $ |
3 | niro | 719 | |
4 | DESTDIR= | ||
5 | |||
6 | sysconfdir=/etc | ||
7 | niro | 1059 | rcscriptdir=${sysconfdir}/rc.d/init.d |
8 | niro | 719 | modprobedir=${sysconfdir}/modprobe.d |
9 | niro | 1361 | udevdir=/lib/udev |
10 | niro | 719 | |
11 | all: install | ||
12 | niro | 1503 | |
13 | install-sysvinit: | ||
14 | niro | 1355 | # install rc-script |
15 | niro | 721 | install -d -m 0755 $(DESTDIR)${sysconfdir} |
16 | niro | 1059 | install -d -m 0755 $(DESTDIR)${rcscriptdir} |
17 | install -m 0755 udev.rc $(DESTDIR)${rcscriptdir}/udev | ||
18 | |||
19 | niro | 1503 | 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 | niro | 719 | # install our blacklist |
28 | niro | 1355 | install -d -m 0755 $(DESTDIR)${modprobedir} |
29 | niro | 1354 | install -m 0644 blacklist $(DESTDIR)${modprobedir}/blacklist.conf |
30 | niro | 719 | # install our pnpaliases; now excluded from 50-udev.rules |
31 | niro | 960 | install -m 0644 pnp-aliases $(DESTDIR)${modprobedir}/pnp-aliases.conf |