Annotation of /trunk/udev/Makefile
Parent Directory | Revision Log
Revision 1088 -
(hide annotations)
(download)
Wed Aug 18 02:24:13 2010 UTC (14 years, 2 months ago) by niro
File size: 4664 byte(s)
Wed Aug 18 02:24:13 2010 UTC (14 years, 2 months ago) by niro
File size: 4664 byte(s)
-updated rules to match udev-161
1 | niro | 719 | # udev rules |
2 | niro | 1088 | # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.9 2010-08-18 02:24:12 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 | udevconfdir=${sysconfdir}/udev | ||
10 | udevdir=/lib/udev | ||
11 | niro | 721 | rulesdir=${udevdir}/rules.d |
12 | niro | 719 | |
13 | all: install | ||
14 | |||
15 | create-dirs: | ||
16 | niro | 721 | install -d -m 0755 $(DESTDIR)${sysconfdir} |
17 | niro | 1059 | install -d -m 0755 $(DESTDIR)${rcscriptdir} |
18 | niro | 721 | install -d -m 0755 $(DESTDIR)${modprobedir} |
19 | install -d -m 0755 $(DESTDIR)${udevconfdir} | ||
20 | install -d -m 0755 $(DESTDIR)${udevdir} | ||
21 | install -d -m 0755 $(DESTDIR)${rulesdir} | ||
22 | niro | 719 | |
23 | install-files: | ||
24 | niro | 1059 | # install rc-script |
25 | install -m 0755 udev.rc $(DESTDIR)${rcscriptdir}/udev | ||
26 | |||
27 | niro | 719 | # our config file |
28 | niro | 721 | install -m 0644 udev.conf $(DESTDIR)${udevconfdir}/ |
29 | niro | 719 | |
30 | # install our blacklist | ||
31 | niro | 721 | install -m 0644 blacklist $(DESTDIR)${udevconfdir}/blacklist |
32 | niro | 719 | |
33 | # install our pnpaliases; now excluded from 50-udev.rules | ||
34 | niro | 960 | install -m 0644 pnp-aliases $(DESTDIR)${modprobedir}/pnp-aliases.conf |
35 | niro | 719 | |
36 | # our rules | ||
37 | niro | 721 | install -m 0644 udev-kernel-compat.rules.magellan $(DESTDIR)${rulesdir}/30-kernel-compat.rules |
38 | install -m 0644 udev-arch-ia64.rules.magellan $(DESTDIR)${rulesdir}/40-arch-ia64.rules | ||
39 | install -m 0644 udev-arch-ppc.rules.magellan $(DESTDIR)${rulesdir}/40-arch-ppc.rules | ||
40 | install -m 0644 udev-arch-s390.rules.magellan $(DESTDIR)${rulesdir}/40-arch-s390.rules | ||
41 | install -m 0644 udev-infiniband.rules.magellan $(DESTDIR)${rulesdir}/40-infiniband.rules | ||
42 | install -m 0644 udev-isdn.rules.magellan $(DESTDIR)${rulesdir}/40-isdn.rules | ||
43 | install -m 0644 udev-magellan.rules.magellan $(DESTDIR)${rulesdir}/40-magellan.rules | ||
44 | install -m 0644 udev-pilot-links.rules.magellan $(DESTDIR)${rulesdir}/40-pilot-links.rules | ||
45 | install -m 0644 udev-zaptel.rules.magellan $(DESTDIR)${rulesdir}/40-zaptel.rules | ||
46 | install -m 0644 udev.rules.magellan $(DESTDIR)${rulesdir}/50-udev-default.rules | ||
47 | niro | 884 | install -m 0644 udev-firmware.rules.magellan $(DESTDIR)${rulesdir}/50-firmware.rules |
48 | niro | 721 | install -m 0644 udev-cdrom_id.rules.magellan $(DESTDIR)${rulesdir}/60-cdrom_id.rules |
49 | niro | 1016 | install -m 0644 udev-floppy.rules.magellan $(DESTDIR)${rulesdir}/60-floppy.rules |
50 | niro | 884 | install -m 0644 udev-persistent-alsa.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-alsa.rules |
51 | niro | 721 | install -m 0644 udev-persistent-input.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-input.rules |
52 | niro | 763 | install -m 0644 udev-persistent-serial.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-serial.rules |
53 | niro | 721 | install -m 0644 udev-persistent-storage.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage.rules |
54 | install -m 0644 udev-persistent-storage-tape.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage-tape.rules | ||
55 | install -m 0644 udev-persistent-storage-edd.rules.magellan $(DESTDIR)${rulesdir}/61-persistent-storage-edd.rules | ||
56 | install -m 0644 udev-persistent-v4l.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-v4l.rules | ||
57 | niro | 888 | install -m 0644 udev-mobile-action.rules.magellan $(DESTDIR)${rulesdir}/61-mobile-action.rules |
58 | install -m 0644 udev-option-modem-modeswitch.rules.magellan $(DESTDIR)${rulesdir}/61-option-modem-modeswitch.rules | ||
59 | niro | 721 | install -m 0644 udev-device-mapper.rules.magellan $(DESTDIR)${rulesdir}/64-device-mapper.rules |
60 | install -m 0644 udev-md-raid.rules.magellan $(DESTDIR)${rulesdir}/64-md-raid.rules | ||
61 | niro | 888 | install -m 0644 udev-acl.rules.magellan $(DESTDIR)${rulesdir}/70-acl.rules |
62 | install -m 0644 udev-hid2hci.rules.magellan $(DESTDIR)${rulesdir}/70-hid2hci.rules | ||
63 | niro | 1088 | install -m 0644 udev-probe-mtd.rules.magellan $(DESTDIR)${rulesdir}/75-probe-mtd.rules |
64 | niro | 721 | install -m 0644 udev-cd-aliases-generator.rules.magellan $(DESTDIR)${rulesdir}/75-cd-aliases-generator.rules |
65 | install -m 0644 udev-persistent-net-generator.rules.magellan $(DESTDIR)${rulesdir}/75-persistent-net-generator.rules | ||
66 | niro | 884 | install -m 0644 udev-net-description.rules.magellan $(DESTDIR)${rulesdir}/75-net-description.rules |
67 | install -m 0644 udev-tty-description.rules.magellan $(DESTDIR)${rulesdir}/75-tty-description.rules | ||
68 | install -m 0644 udev-sound-card.rules.magellan $(DESTDIR)${rulesdir}/78-sound-card.rules | ||
69 | install -m 0644 udev-fstab_import.rules.magellan $(DESTDIR)${rulesdir}/80-fstab_import.rules | ||
70 | niro | 721 | install -m 0644 udev-drivers.rules.magellan $(DESTDIR)${rulesdir}/80-drivers.rules |
71 | niro | 888 | install -m 0644 udev-keymap.rules.magellan $(DESTDIR)${rulesdir}/95-keymap.rules |
72 | niro | 1016 | install -m 0644 udev-keyboard-force-release.rules.magellan $(DESTDIR)${rulesdir}/95-keyboard-force-release.rules |
73 | niro | 721 | install -m 0644 udev-late.rules.magellan $(DESTDIR)${rulesdir}/95-udev-late.rules |
74 | niro | 719 | |
75 | # generic udev helper scripts | ||
76 | niro | 721 | install -m 0755 modprobe.sh $(DESTDIR)${udevdir}/ |
77 | install -m 0755 write_root_link_rule.sh $(DESTDIR)${udevdir}/write_root_link_rule | ||
78 | niro | 719 | |
79 | install: create-dirs install-files | ||
80 | |||
81 | .PHONY: all install |