From ac5ae18fe739638be6cd550a0ddb295da5ffcaad Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 19 Jul 2007 16:59:16 +0000 Subject: [PATCH] Drop the package target. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4628 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + Makefile | 27 +++------------------------ 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/CHANGES b/CHANGES index 7520f05f..112a298c 100644 --- a/CHANGES +++ b/CHANGES @@ -15,6 +15,7 @@ SVN HEAD Delete procfs and sysctl support (Linux 2.4) Delete all remnants of algorithm names Drop all the chip-specific support + Makefile: Drop the package and version targets Man page sensors.conf.5: Update the chip statement section Programs doc/*: Delete, obsolete Programs i2cdump, i2cget, i2cset: Do not force the slave address by default diff --git a/Makefile b/Makefile index 6f2b3978..95d9038a 100644 --- a/Makefile +++ b/Makefile @@ -29,8 +29,8 @@ # Uncomment the second line if you are a developer. This will enable many # additional warnings at compile-time -WARN := 0 -#WARN := 1 +#WARN := 0 +WARN := 1 # Uncomment the second line if you want to get (loads of) debug information # at run-time. @@ -154,7 +154,7 @@ ARCFLAGS := $(ALL_CFLAGS) LIBCPPFLAGS := $(ALL_CPPFLAGS) LIBCFLAGS := -fpic -D_REENTRANT $(ALL_CFLAGS) -.PHONY: all user clean install user_install uninstall user_uninstall package +.PHONY: all user clean install user_install uninstall user_uninstall # Make all the default rule all:: @@ -166,15 +166,11 @@ ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),uninstall) ifneq ($(MAKECMDGOALS),user_uninstall) ifneq ($(MAKECMDGOALS),help) -ifneq ($(MAKECMDGOALS),package) -ifneq ($(MAKECMDGOALS),userpackage) include $(INCLUDEFILES) endif endif endif endif -endif -endif # Man pages MANPAGES := $(LIBMAN3FILES) $(LIBMAN5FILES) $(PROGDETECTMAN8FILES) $(PROGDUMPMAN8FILES) \ @@ -199,29 +195,12 @@ user_uninstall:: uninstall :: user_uninstall -# This is tricky, but it works like a charm. It needs lots of utilities -# though: cut, find, gzip, ln, tail and tar. -package: version.h clean - lmversion=`tail -1 version.h|cut -f 2 -d \"`; \ - lmpackage=lm_sensors-$$lmversion; \ - ln -s . $$lmpackage; \ - find $$lmpackage/ -type f | grep -v ^$$lmpackage/$$lmpackage$$ | \ - grep -v ^$$lmpackage/$$lmpackage.tar$$ | \ - grep -v ^$$lmpackage/$$ | \ - grep -v /CVS | \ - grep -v /\\.# | \ - tar rvf $$lmpackage.tar -T -; \ - gzip -9 $$lmpackage.tar ;\ - $(RM) $$lmpackage.tar $$lmpackage - cat doc/developers/checklist - help: @echo 'Make targets are:' @echo ' all (default): build library and userspace programs' @echo ' install: install library and userspace programs' @echo ' uninstall: uninstall library and userspace programs' @echo ' clean: cleanup' - @echo ' package: create a distribution package' # Generate html man pages to be copied to the lm_sensors website. # This uses the man2html from here