Show
Ignore:
Timestamp:
07/19/07 18:59:16 (6 years ago)
Author:
khali
Message:

Drop the package target.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/Makefile

    r4601 r4628  
    3030# Uncomment the second line if you are a developer. This will enable many 
    3131# additional warnings at compile-time 
    32 WARN := 0 
    33 #WARN := 1 
     32#WARN := 0 
     33WARN := 1 
    3434 
    3535# Uncomment the second line if you want to get (loads of) debug information 
     
    155155LIBCFLAGS := -fpic -D_REENTRANT $(ALL_CFLAGS) 
    156156 
    157 .PHONY: all user clean install user_install uninstall user_uninstall package 
     157.PHONY: all user clean install user_install uninstall user_uninstall 
    158158 
    159159# Make all the default rule 
     
    167167ifneq ($(MAKECMDGOALS),user_uninstall) 
    168168ifneq ($(MAKECMDGOALS),help) 
    169 ifneq ($(MAKECMDGOALS),package) 
    170 ifneq ($(MAKECMDGOALS),userpackage) 
    171169include $(INCLUDEFILES) 
    172 endif 
    173 endif 
    174170endif 
    175171endif 
     
    200196uninstall :: user_uninstall 
    201197 
    202 # This is tricky, but it works like a charm. It needs lots of utilities 
    203 # though: cut, find, gzip, ln, tail and tar. 
    204 package: version.h clean 
    205         lmversion=`tail -1 version.h|cut -f 2 -d \"`; \ 
    206         lmpackage=lm_sensors-$$lmversion; \ 
    207         ln -s . $$lmpackage;  \ 
    208         find $$lmpackage/ -type f | grep -v ^$$lmpackage/$$lmpackage$$ | \ 
    209                                     grep -v ^$$lmpackage/$$lmpackage.tar$$ | \ 
    210                                     grep -v ^$$lmpackage/$$ | \ 
    211                                     grep -v /CVS | \ 
    212                                     grep -v /\\.# | \ 
    213                                     tar rvf $$lmpackage.tar -T -; \ 
    214         gzip -9 $$lmpackage.tar ;\ 
    215         $(RM) $$lmpackage.tar $$lmpackage 
    216         cat doc/developers/checklist 
    217  
    218198help: 
    219199        @echo 'Make targets are:' 
     
    222202        @echo '  uninstall: uninstall library and userspace programs' 
    223203        @echo '  clean: cleanup' 
    224         @echo '  package: create a distribution package' 
    225204 
    226205# Generate html man pages to be copied to the lm_sensors website.