Magellan Linux

Annotation of /trunk/udev/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 763 - (hide annotations) (download)
Fri Apr 24 14:20:33 2009 UTC (15 years, 6 months ago) by niro
File size: 3269 byte(s)
-fixed makefile: dropped permission rule, added serial rule

1 niro 719 # udev rules
2 niro 763 # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.3 2009-04-24 14:20:33 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 721 install -m 0644 pnp-aliases $(DESTDIR)${modprobedir}/pnp-aliases
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-alsa.rules.magellan $(DESTDIR)${rulesdir}/40-alsa.rules
34     install -m 0644 udev-arch-ia64.rules.magellan $(DESTDIR)${rulesdir}/40-arch-ia64.rules
35     install -m 0644 udev-arch-ppc.rules.magellan $(DESTDIR)${rulesdir}/40-arch-ppc.rules
36     install -m 0644 udev-arch-s390.rules.magellan $(DESTDIR)${rulesdir}/40-arch-s390.rules
37     install -m 0644 udev-infiniband.rules.magellan $(DESTDIR)${rulesdir}/40-infiniband.rules
38     install -m 0644 udev-isdn.rules.magellan $(DESTDIR)${rulesdir}/40-isdn.rules
39     install -m 0644 udev-magellan.rules.magellan $(DESTDIR)${rulesdir}/40-magellan.rules
40     install -m 0644 udev-pilot-links.rules.magellan $(DESTDIR)${rulesdir}/40-pilot-links.rules
41     install -m 0644 udev-zaptel.rules.magellan $(DESTDIR)${rulesdir}/40-zaptel.rules
42     install -m 0644 udev.rules.magellan $(DESTDIR)${rulesdir}/50-udev-default.rules
43     install -m 0644 udev-cdrom_id.rules.magellan $(DESTDIR)${rulesdir}/60-cdrom_id.rules
44     install -m 0644 udev-persistent-input.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-input.rules
45 niro 763 install -m 0644 udev-persistent-serial.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-serial.rules
46 niro 721 install -m 0644 udev-persistent-storage.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage.rules
47     install -m 0644 udev-persistent-storage-tape.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage-tape.rules
48     install -m 0644 udev-persistent-storage-edd.rules.magellan $(DESTDIR)${rulesdir}/61-persistent-storage-edd.rules
49     install -m 0644 udev-persistent-v4l.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-v4l.rules
50     install -m 0644 udev-device-mapper.rules.magellan $(DESTDIR)${rulesdir}/64-device-mapper.rules
51     install -m 0644 udev-md-raid.rules.magellan $(DESTDIR)${rulesdir}/64-md-raid.rules
52     install -m 0644 udev-cd-aliases-generator.rules.magellan $(DESTDIR)${rulesdir}/75-cd-aliases-generator.rules
53     install -m 0644 udev-persistent-net-generator.rules.magellan $(DESTDIR)${rulesdir}/75-persistent-net-generator.rules
54     install -m 0644 udev-drivers.rules.magellan $(DESTDIR)${rulesdir}/80-drivers.rules
55     install -m 0644 udev-late.rules.magellan $(DESTDIR)${rulesdir}/95-udev-late.rules
56 niro 719
57     # generic udev helper scripts
58 niro 721 install -m 0755 modprobe.sh $(DESTDIR)${udevdir}/
59     install -m 0755 write_root_link_rule.sh $(DESTDIR)${udevdir}/write_root_link_rule
60 niro 719
61     install: create-dirs install-files
62    
63     .PHONY: all install