Changeset 8542

Show
Ignore:
Timestamp:
05/19/08 17:50:01 (5 months ago)
Author:
bryan
Message:

Old change that never got committed: Make the package work in a DESTDIR setup, where udevd can't be executed. (Do this by not using a version for the package subdirectory.)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/udev-config/ChangeLog

    r8428 r8542  
     12008-04-02      Bryan Kadzban   <bryan@linuxfromscratch.org> 
     2        * Makefile: Make the package DESTDIR-friendly by installing the docs 
     3          into a fixed $(PREFIX)/share/doc/udev-config directory, instead of 
     4          trying to figure out what version of udev was just installed. 
     5 
    162007-10-30      Bryan Kadzban   <bryan@linuxfromscratch.org> 
    27        * 55-lfs.rules: Since the dialout group was renamed to uucp, delete 
  • trunk/udev-config/Makefile

    r8425 r8542  
    1818        95-udev-late.txt 
    1919 
    20 # Figure out where to install the docs 
    21 UDEV_VERSION = $(shell udevd --version) 
    22 DOC_DIR = $(PREFIX)/share/doc/udev-$(UDEV_VERSION) 
     20# Location to install the docs 
     21DOC_DIR = $(PREFIX)/share/doc/udev-config 
    2322 
    2423all: 
     
    3332 
    3433install-doc: 
    35         @if [ -z "$(UDEV_VERSION)" ]; then \ 
    36                 echo "Error: Can't get udev version from udevinfo" >&2; \ 
    37                 exit 1; \ 
    38         fi 
    3934        $(INSTALL) -d $(DESTDIR)$(DOC_DIR) 
    4035        for doc in $(DOC_FILES); do \ 
     
    4338 
    4439install-extra-doc: 
    45         @if [ -z "$(UDEV_VERSION)" ]; then \ 
    46                 echo "Error: Can't get udev version from udevinfo" >&2; \ 
    47                 exit 1; \ 
    48         fi 
    4940        $(INSTALL) -d $(DESTDIR)$(DOC_DIR) 
    5041        for doc in $(EXTRA_DOC_FILES); do \