Changeset 4163

Show
Ignore:
Timestamp:
09/20/06 17:47:04 (8 years ago)
Author:
khali
Message:

Remove empty include directories on make user_uninstall.

Location:
lm-sensors/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4162 r4163  
    2020  Makefile: Don't grep autoconf.h on user-space targets 
    2121            Fix depmod on non-running kernel version 
     22            Remove empty include directories on make user_uninstall 
    2223  Module i2c-ali1535: Drop redundant semaphore (2.6 backport) 
    2324  Module i2c-amd756-s4882: Improve static semaphore initialization 
  • lm-sensors/trunk/kernel/include/Module.mk

    r2604 r4163  
    4949user_uninstall:: 
    5050        $(RM) $(REMOVEKERNELINC) 
     51# Remove directory if empty, ignore failure 
     52        $(RMDIR) $(DESTDIR)$(SYSINCLUDEDIR) 2> /dev/null || true 
    5153 
    5254clean-all-kernel-include: 
  • lm-sensors/trunk/lib/Module.mk

    r3253 r4163  
    161161        $(RM) $(REMOVELIBST) $(REMOVELIBSH) $(REMOVELNSO) $(REMOVELNBS)  
    162162        $(RM) $(REMOVELIBHF) $(REMOVEMAN3) $(REMOVEMAN5) 
     163# Remove directory if empty, ignore failure 
     164        $(RMDIR) $(DESTDIR)$(LIBINCLUDEDIR) 2> /dev/null || true 
    163165 
    164166clean-lib: