source:
udev-lfs/Makefile.lfs@
80212b2
Last change on this file since 80212b2 was 7641231, checked in by , 13 months ago | |
---|---|
|
|
File size: 823 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 | ||
[7641231] | 6 | VERSION=20230818 |
[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: |
[6de383a] | 19 | @mkdir -pv $(DESTDIR)/usr/lib/udev/rules.d \ |
[cba2d4e] | 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 |
[6de383a] | 25 | @cp -v udev-lfs-$(VERSION)/init-net-rules.sh \ |
[7641231] | 26 | udev-lfs-$(VERSION)/write_net_rules \ |
[6de383a] | 27 | udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/usr/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.