Show
Ignore:
Timestamp:
12/24/99 20:52:28 (15 years ago)
Author:
frodo
Message:

Added DESTDIR Makefile variable

Set DESTDIR if you want to install at some other place then where you
will run everything from.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/Module.mk

    r619 r675  
    6565 
    6666install-kernel-chips: all-kernel-chips 
    67         $(MKDIR) $(MODDIR)  
    68         if [ -n "$(MODDIR)" ] ; then \ 
    69           $(INSTALL) -o root -g root -m 644 $(KERNELCHIPSTARGETS) $(MODDIR) ;\ 
     67        $(MKDIR) $(DESTDIR)$(MODDIR)  
     68        if [ -n "$(DESTDIR)$(MODDIR)" ] ; then \ 
     69          $(INSTALL) -o root -g root -m 644 $(KERNELCHIPSTARGETS) $(DESTDIR)$(MODDIR) ;\ 
    7070        fi 
    7171