mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
ee648fdd8c
Update to file-5.18 Update to flex-2.5.39 Update to GMP-6.0.0a Update to libpipeline-1.3.0 Update to man-pages-3.64 Update to systemd-212 Update to udev-lfs-20140408 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10532 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
32 lines
816 B
Makefile
32 lines
816 B
Makefile
# Custom systemd Makefile that installs udev rules for LFS
|
|
# Bruce Dubbs 2014-04-02
|
|
|
|
# vim: tabstop=3
|
|
|
|
VERSION=20140408
|
|
SHELL=/bin/bash
|
|
|
|
ifeq ($(V),)
|
|
VB = @
|
|
else
|
|
VB =
|
|
endif
|
|
|
|
all:
|
|
@echo "Use the install target"
|
|
|
|
install:
|
|
@mkdir -pv $(DESTDIR)/lib/udev/rules.d \
|
|
$(DESTDIR)/etc/udev/rules.d \
|
|
$(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
|
|
|
|
# Copy rules
|
|
@cp -v udev-lfs-$(VERSION)/*.rules $(DESTDIR)/etc/udev/rules.d
|
|
@cp -v udev-lfs-$(VERSION)/*_rules \
|
|
udev-lfs-$(VERSION)/init-net-rules.sh \
|
|
udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/lib/udev
|
|
|
|
# Copy documentation
|
|
@cp -v udev-lfs-$(VERSION)/README $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
|
|
@cp -v udev-lfs-$(VERSION)/*.txt $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
|