multilib
xry111/multilib
Last change
on this file since 031db1b was 3781c69, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago |
Remove eol spaces
|
-
Property mode
set to
100644
|
File size:
815 bytes
|
Rev | Line | |
---|
[cba2d4e] | 1 | # Custom systemd Makefile that installs udev rules for LFS
|
---|
| 2 | # Bruce Dubbs 2014-04-02
|
---|
[b2b1e1a] | 3 |
|
---|
| 4 | # vim: tabstop=3
|
---|
| 5 |
|
---|
[b4c82dc] | 6 | VERSION=20171102
|
---|
[b2b1e1a] | 7 | SHELL=/bin/bash
|
---|
| 8 |
|
---|
| 9 | ifeq ($(V),)
|
---|
| 10 | VB = @
|
---|
| 11 | else
|
---|
| 12 | VB =
|
---|
| 13 | endif
|
---|
| 14 |
|
---|
[cba2d4e] | 15 | all:
|
---|
| 16 | @echo "Use the install target"
|
---|
[b2b1e1a] | 17 |
|
---|
[3781c69] | 18 | install:
|
---|
[cba2d4e] | 19 | @mkdir -pv $(DESTDIR)/lib/udev/rules.d \
|
---|
| 20 | $(DESTDIR)/etc/udev/rules.d \
|
---|
| 21 | $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
|
---|
[b2b1e1a] | 22 |
|
---|
[cba2d4e] | 23 | # Copy rules
|
---|
[f8fe8970] | 24 | @cp -v udev-lfs-$(VERSION)/*.rules $(DESTDIR)/etc/udev/rules.d
|
---|
| 25 | @cp -v udev-lfs-$(VERSION)/*_rules \
|
---|
| 26 | udev-lfs-$(VERSION)/init-net-rules.sh \
|
---|
| 27 | udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/lib/udev
|
---|
[b2b1e1a] | 28 |
|
---|
[cba2d4e] | 29 | # Copy documentation
|
---|
| 30 | @cp -v udev-lfs-$(VERSION)/README $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
|
---|
| 31 | @cp -v udev-lfs-$(VERSION)/*.txt $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
|
---|
Note:
See
TracBrowser
for help on using the repository browser.