Annotation of /trunk/udev/Makefile
Parent Directory | Revision Log
Revision 1354 -
(hide annotations)
(download)
Sat Jun 4 16:25:26 2011 UTC (13 years, 3 months ago) by niro
File size: 785 byte(s)
Sat Jun 4 16:25:26 2011 UTC (13 years, 3 months ago) by niro
File size: 785 byte(s)
-use upstream rulesets
1 | niro | 719 | # udev rules |
2 | niro | 1094 | # $Header: /root/magellan-cvs/src/udev/Makefile,v 1.10 2010-08-19 14:15:36 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 | |||
10 | all: install | ||
11 | |||
12 | create-dirs: | ||
13 | niro | 721 | install -d -m 0755 $(DESTDIR)${sysconfdir} |
14 | niro | 1059 | install -d -m 0755 $(DESTDIR)${rcscriptdir} |
15 | niro | 721 | install -d -m 0755 $(DESTDIR)${modprobedir} |
16 | niro | 719 | |
17 | install-files: | ||
18 | niro | 1059 | # install rc-script |
19 | install -m 0755 udev.rc $(DESTDIR)${rcscriptdir}/udev | ||
20 | |||
21 | niro | 719 | # install our blacklist |
22 | niro | 1354 | install -m 0644 blacklist $(DESTDIR)${modprobedir}/blacklist.conf |
23 | niro | 719 | |
24 | # install our pnpaliases; now excluded from 50-udev.rules | ||
25 | niro | 960 | install -m 0644 pnp-aliases $(DESTDIR)${modprobedir}/pnp-aliases.conf |
26 | niro | 719 | |
27 | niro | 1354 | install-basic-files: install-files |
28 | install: install-basic-files | ||
29 | niro | 1188 | |
30 | .PHONY: all install install-basic-files |