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
This commit is contained in:
Jean Delvare committed 2007-07-19 16:59:16 +00:00
1 parent fd6fc535ab
commit ac5ae18fe7
2 files changed
+4 -24

No files matched your search

+1
View File
@@ -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
+3 -24
View File
@@ -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