Changeset 615dd64


Ignore:
Timestamp:
Feb 21, 2006, 2:05:28 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
5f6535b
Parents:
40f7031
Message:

r1030@server (orig r1028): jim | 2006-01-08 22:41:24 -0800

r1326@server: jim | 2006-01-08 22:41:02 -0800
Added: network helper


Location:
udev
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • udev/Makefile

    r40f7031 r615dd64  
    55CONFMODE=644
    66
    7 
    8 all: install
     7all: help
    98
    109install: device_dirs device_links rules scripts boot mknod_devices
     
    7473        fi
    7574
    76 .PHONY: all install device_dirs device_links rules scripts boot mknod_devices
     75help:
     76        @echo "command                          description"
     77        @echo "---------------------------------------------------------------------------------------"
     78        @echo "make install                     install udev rules package and helper scripts"
     79        @echo "make install-network             install network helper package"
     80        @echo "make install-network-upgrade     upgrades current network helper package"
     81        @echo "---------------------------------------------------------------------------------------"
     82
     83install-helper-functions:
     84        install -m 644 contrib/common/helper.functions ${DESTDIR}/lib/udev/helper.functions
     85       
     86install-network: install-helper-functions
     87        install -m ${SCRIPTMODE} contrib/network/network_helper.sh ${DESTDIR}/lib/udev/network_helper.sh
     88        install -m ${INITMODE} contrib/network/network ${DESTDIR}/etc/rc.d/init.d/network
     89        @echo "Adding rules to ${DESTDIR}/etc/udev/rules.d/35-helper.rules."
     90        @cp ${DESTDIR}/etc/udev/rules.d/35-helper.rules /tmp/first
     91        @cat /tmp/first contrib/network/rules > ${DESTDIR}/etc/udev/rules.d/35-helper.rules 2>&1
     92
     93install-network-update:
     94        install -m ${SCRIPTMODE} contrib/network/network_helper.sh ${DESTDIR}/lib/udev/network_helper.sh
     95        install -m ${INITMODE} contrib/network/network ${DESTDIR}/etc/rc.d/init.d/network
     96
     97.PHONY: all install device_dirs device_links rules scripts boot mknod_devices \
     98        help install-helper-functions install-network install-network-update
Note: See TracChangeset for help on using the changeset viewer.