mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
mh: sensord is only built if PROG_EXTRA:=sensord is specified.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1359 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
d51ae94cee
commit
1fb2fb31cb
3 files changed
+19
-3
No files matched your search
@@ -15,6 +15,10 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
# The round robin database (RRD) development headers and libraries are
|
||||
# REQUIRED. Get this package from:
|
||||
# http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool
|
||||
|
||||
# Note that MODULE_DIR (the directory in which this file resides) is a
|
||||
# 'simply expanded variable'. That means that its value is substituted
|
||||
# verbatim in the rules, until it is redefined.
|
||||
@@ -37,13 +41,13 @@ $(PROGSENSORDTARGETS): $(PROGSENSORDSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
|
||||
$(CC) -o $@ $(PROGSENSORDSOURCES:.c=.ro) -Llib -lsensors -lrrd
|
||||
|
||||
all-prog-sensord: $(PROGSENSORDTARGETS)
|
||||
# all :: all-prog-sensord
|
||||
all :: all-prog-sensord
|
||||
|
||||
install-prog-sensord: all-prog-sensord
|
||||
$(MKDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(PROGSENSORDMAN1DIR)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGSENSORDTARGETS) $(DESTDIR)$(SBINDIR)
|
||||
$(INSTALL) -o $(MANOWN) -g $(MANGRP) -m 644 $(PROGSENSORDMAN1FILES) $(DESTDIR)$(PROGSENSORDMAN1DIR)
|
||||
# install :: install-prog-sensord
|
||||
install :: install-prog-sensord
|
||||
|
||||
clean-prog-sensord:
|
||||
$(RM) $(PROGSENSORDDIR)/*.rd $(PROGSENSORDDIR)/*.ro
|
||||
|
||||
Reference in new issue
Block a user