Magellan Linux

Annotation of /trunk/udev/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 719 - (hide annotations) (download)
Mon Dec 22 21:21:52 2008 UTC (15 years, 10 months ago) by niro
File size: 3258 byte(s)
-create tarball sh + Makefile

1 niro 719 # udev rules
2     # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.1 2008-12-22 21:21:52 niro Exp $
3    
4     DESTDIR=
5    
6     sysconfdir=/etc
7     modprobedir=${sysconfdir}/modprobe.d
8     udevconfdir=${sysconfdir}/udev
9     udevdir=/lib/udev
10     rulesdir=${udev_dir}/rules.d
11    
12     all: install
13    
14     create-dirs:
15     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    
21     install-files:
22     # our config file
23     install -m 0644 udev.conf $(DESTDIR)$(udevconfdir)/
24    
25     # install our blacklist
26     install -m 0644 blacklist $(DESTDIR)$(udevconfdir)/blacklist
27    
28     # install our pnpaliases; now excluded from 50-udev.rules
29     install -m 0644 pnp-aliases $(DESTDIR)$(modprobedir)/pnp-aliases
30    
31     # our rules
32     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    
57     # generic udev helper scripts
58     install -m 0755 modprobe.sh $(DESTDIR)$(udevdir)/
59     install -m 0755 write_root_link_rule.sh $(DESTDIR)$(udevdir)/write_root_link_rule
60    
61     install: create-dirs install-files
62    
63     .PHONY: all install