Magellan Linux

Annotation of /trunk/udev/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1016 - (hide annotations) (download)
Tue Apr 6 23:46:22 2010 UTC (14 years, 6 months ago) by niro
File size: 4416 byte(s)
-merged with upstream udev-151 rules

1 niro 719 # udev rules
2 niro 1016 # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.7 2010-04-06 23:46:22 niro Exp $
3 niro 719
4     DESTDIR=
5    
6     sysconfdir=/etc
7     modprobedir=${sysconfdir}/modprobe.d
8     udevconfdir=${sysconfdir}/udev
9     udevdir=/lib/udev
10 niro 721 rulesdir=${udevdir}/rules.d
11 niro 719
12     all: install
13    
14     create-dirs:
15 niro 721 install -d -m 0755 $(DESTDIR)${sysconfdir}
16     install -d -m 0755 $(DESTDIR)${modprobedir}
17     install -d -m 0755 $(DESTDIR)${udevconfdir}
18     install -d -m 0755 $(DESTDIR)${udevdir}
19     install -d -m 0755 $(DESTDIR)${rulesdir}
20 niro 719
21     install-files:
22     # our config file
23 niro 721 install -m 0644 udev.conf $(DESTDIR)${udevconfdir}/
24 niro 719
25     # install our blacklist
26 niro 721 install -m 0644 blacklist $(DESTDIR)${udevconfdir}/blacklist
27 niro 719
28     # install our pnpaliases; now excluded from 50-udev.rules
29 niro 960 install -m 0644 pnp-aliases $(DESTDIR)${modprobedir}/pnp-aliases.conf
30 niro 719
31     # our rules
32 niro 721 install -m 0644 udev-kernel-compat.rules.magellan $(DESTDIR)${rulesdir}/30-kernel-compat.rules
33     install -m 0644 udev-arch-ia64.rules.magellan $(DESTDIR)${rulesdir}/40-arch-ia64.rules
34     install -m 0644 udev-arch-ppc.rules.magellan $(DESTDIR)${rulesdir}/40-arch-ppc.rules
35     install -m 0644 udev-arch-s390.rules.magellan $(DESTDIR)${rulesdir}/40-arch-s390.rules
36     install -m 0644 udev-infiniband.rules.magellan $(DESTDIR)${rulesdir}/40-infiniband.rules
37     install -m 0644 udev-isdn.rules.magellan $(DESTDIR)${rulesdir}/40-isdn.rules
38     install -m 0644 udev-magellan.rules.magellan $(DESTDIR)${rulesdir}/40-magellan.rules
39     install -m 0644 udev-pilot-links.rules.magellan $(DESTDIR)${rulesdir}/40-pilot-links.rules
40     install -m 0644 udev-zaptel.rules.magellan $(DESTDIR)${rulesdir}/40-zaptel.rules
41     install -m 0644 udev.rules.magellan $(DESTDIR)${rulesdir}/50-udev-default.rules
42 niro 884 install -m 0644 udev-firmware.rules.magellan $(DESTDIR)${rulesdir}/50-firmware.rules
43 niro 721 install -m 0644 udev-cdrom_id.rules.magellan $(DESTDIR)${rulesdir}/60-cdrom_id.rules
44 niro 1016 install -m 0644 udev-floppy.rules.magellan $(DESTDIR)${rulesdir}/60-floppy.rules
45 niro 884 install -m 0644 udev-persistent-alsa.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-alsa.rules
46 niro 721 install -m 0644 udev-persistent-input.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-input.rules
47 niro 763 install -m 0644 udev-persistent-serial.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-serial.rules
48 niro 721 install -m 0644 udev-persistent-storage.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage.rules
49     install -m 0644 udev-persistent-storage-tape.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage-tape.rules
50     install -m 0644 udev-persistent-storage-edd.rules.magellan $(DESTDIR)${rulesdir}/61-persistent-storage-edd.rules
51     install -m 0644 udev-persistent-v4l.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-v4l.rules
52 niro 888 install -m 0644 udev-mobile-action.rules.magellan $(DESTDIR)${rulesdir}/61-mobile-action.rules
53     install -m 0644 udev-option-modem-modeswitch.rules.magellan $(DESTDIR)${rulesdir}/61-option-modem-modeswitch.rules
54 niro 721 install -m 0644 udev-device-mapper.rules.magellan $(DESTDIR)${rulesdir}/64-device-mapper.rules
55     install -m 0644 udev-md-raid.rules.magellan $(DESTDIR)${rulesdir}/64-md-raid.rules
56 niro 888 install -m 0644 udev-acl.rules.magellan $(DESTDIR)${rulesdir}/70-acl.rules
57     install -m 0644 udev-hid2hci.rules.magellan $(DESTDIR)${rulesdir}/70-hid2hci.rules
58 niro 721 install -m 0644 udev-cd-aliases-generator.rules.magellan $(DESTDIR)${rulesdir}/75-cd-aliases-generator.rules
59     install -m 0644 udev-persistent-net-generator.rules.magellan $(DESTDIR)${rulesdir}/75-persistent-net-generator.rules
60 niro 884 install -m 0644 udev-net-description.rules.magellan $(DESTDIR)${rulesdir}/75-net-description.rules
61     install -m 0644 udev-tty-description.rules.magellan $(DESTDIR)${rulesdir}/75-tty-description.rules
62     install -m 0644 udev-sound-card.rules.magellan $(DESTDIR)${rulesdir}/78-sound-card.rules
63     install -m 0644 udev-fstab_import.rules.magellan $(DESTDIR)${rulesdir}/80-fstab_import.rules
64 niro 721 install -m 0644 udev-drivers.rules.magellan $(DESTDIR)${rulesdir}/80-drivers.rules
65 niro 888 install -m 0644 udev-keymap.rules.magellan $(DESTDIR)${rulesdir}/95-keymap.rules
66 niro 1016 install -m 0644 udev-keyboard-force-release.rules.magellan $(DESTDIR)${rulesdir}/95-keyboard-force-release.rules
67 niro 721 install -m 0644 udev-late.rules.magellan $(DESTDIR)${rulesdir}/95-udev-late.rules
68 niro 719
69     # generic udev helper scripts
70 niro 721 install -m 0755 modprobe.sh $(DESTDIR)${udevdir}/
71     install -m 0755 write_root_link_rule.sh $(DESTDIR)${udevdir}/write_root_link_rule
72 niro 719
73     install: create-dirs install-files
74    
75     .PHONY: all install