fix removal of old sensors.o module, now uses MODPREF rather

than MODDIR


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1747 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2003-05-31 15:48:28 +00:00
parent ce5aceb748
commit ece019f16a
+5 -5
View File
@@ -37,11 +37,11 @@ all :: all-kernel
# Remove sensors.o possibly left from old versions
install-kernel: all-kernel
if [ -n "$(KERNELTARGETS)" ] ; then \
$(MKDIR) $(DESTDIR)$(MODDIR) ; \
$(INSTALL) -o root -g root -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODDIR) ;\
fi
$(RM) $(DESTDIR)$(MODDIR)/sensors.o
# if [ -n "$(KERNELTARGETS)" ] ; then \
# $(MKDIR) $(DESTDIR)$(MODDIR) ; \
# $(INSTALL) -o root -g root -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODDIR) ;\
# fi
$(RM) $(DESTDIR)$(MODPREF)/misc/sensors.o
install :: install-kernel