Changeset 3905

Show
Ignore:
Timestamp:
04/21/04 20:52:57 (9 years ago)
Author:
khali
Message:

Do not run depmod on staged installs. Give hints instead.

Patch by Peter Breitenlohner.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/Makefile

    r3888 r3905  
    188188 
    189189install :: all 
     190ifeq ($(DESTDIR),) 
    190191        @echo "*** If the depmod command below generates errors, you should pay particular" 
    191192        @echo "*** attention to the note #1 below." 
    192 ifeq ($(DESTDIR),) 
    193193        -/sbin/depmod -a 
    194194else 
    195         -/sbin/depmod -a -b $(DESTDIR) 
     195        @echo "*** This is a \`staged' install using \"$(DESTDIR)\" as prefix." 
     196        @echo "***" 
     197        @echo "*** Once the modules have been moved to their final destination" 
     198        @echo "*** you must run the command \"/sbin/depmod -a\"." 
     199        @echo "***" 
     200        @echo "*** Alternatively, if you build a package (e.g. rpm), include the" 
     201        @echo "*** command \"/sbin/depmod -a\" in the post-(un)install procedure." 
     202        @echo "***" 
     203        @echo "*** If the depmod command mentioned above generates errors, you should" 
     204        @echo "*** pay particular attention to the note #1 below." 
    196205endif 
    197206        @echo "*** Installation successful!" 
     
    202211        @echo "***    such as bttv and zoran, and less commonly used ones such as" 
    203212        @echo "***    i2c-matroxfb. If you really need these, then you shouldn't use our" 
    204         @echo "***    i2c package. If you can leave without them, you should make sure" 
     213        @echo "***    i2c package. If you can live without them, you should make sure" 
    205214        @echo "***    such drivers do not exist on your system anymore. Loading them" 
    206215        @echo "***    now would result in a severe system crash. We are working on the"