Added DESTDIR Makefile variable

Set DESTDIR if you want to install at some other place then where you
will run everything from.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@675 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-12-24 19:52:28 +00:00
1 parent 258c8dd869
commit 01bad38253
10 files changed
+33 -29

No files matched your search

+3 -3
View File
@@ -40,9 +40,9 @@ all-prog-sensord: $(PROGSENSORDTARGETS)
all :: all-prog-sensord
install-prog-sensord: all-prog-sensord
mkdir -p $(SBINDIR) $(PROGSENSORDMAN1DIR)
$(INSTALL) -o root -g root -m 755 $(PROGSENSORDTARGETS) $(SBINDIR)
$(INSTALL) -o $(MANOWN) -g $(MANGRP) -m 644 $(PROGSENSORDMAN1FILES) $(PROGSENSORDMAN1DIR)
$(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
clean-prog-sensord: