Annotation of /trunk/udev/Makefile
Parent Directory | Revision Log
Revision 721 -
(hide annotations)
(download)
Mon Dec 22 21:39:35 2008 UTC (15 years, 10 months ago) by niro
File size: 3257 byte(s)
Mon Dec 22 21:39:35 2008 UTC (15 years, 10 months ago) by niro
File size: 3257 byte(s)
-fixed Makefile
1 | niro | 719 | # udev rules |
2 | niro | 721 | # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.2 2008-12-22 21:39:35 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 | install -m 0644 udev-persistent-storage.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage.rules | ||
46 | install -m 0644 udev-persistent-storage-tape.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-storage-tape.rules | ||
47 | install -m 0644 udev-persistent-storage-edd.rules.magellan $(DESTDIR)${rulesdir}/61-persistent-storage-edd.rules | ||
48 | install -m 0644 udev-persistent-v4l.rules.magellan $(DESTDIR)${rulesdir}/60-persistent-v4l.rules | ||
49 | install -m 0644 udev-device-mapper.rules.magellan $(DESTDIR)${rulesdir}/64-device-mapper.rules | ||
50 | install -m 0644 udev-md-raid.rules.magellan $(DESTDIR)${rulesdir}/64-md-raid.rules | ||
51 | install -m 0644 udev-permissions.rules.magellan $(DESTDIR)${rulesdir}/65-permissions.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 |