make install fixes

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@681 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 2000-01-03 00:32:38 +00:00
1 parent d92cb07a98
commit 2ff447b225
4 files changed
+10 -8

No files matched your search

+2 -2
View File
@@ -35,8 +35,8 @@ all-kernel: $(KERNELTARGETS)
all :: all-kernel
install-kernel: all-kernel
$(MKDIR) $(DESTDIR)$(MODDIR)
if [ -n "$(DESTDIR)$(MODDIR)" ] ; then \
if [ -n "$(KERNELTARGETS)" ] ; then \
$(MKDIR) $(DESTDIR)$(MODDIR) ; \
$(INSTALL) -o root -g root -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODDIR) ;\
fi
install :: install-kernel
+2 -2
View File
@@ -51,8 +51,8 @@ all-kernel-busses: $(KERNELBUSSESTARGETS)
all :: all-kernel-busses
install-kernel-busses: all-kernel-busses
$(MKDIR) $(DESTDIR)$(MODDIR)
if [ -n "$(DESTDIR)$(MODDIR)" ] ; then \
if [ -n "$(KERNELBUSSESTARGETS)" ] ; then \
$(MKDIR) $(DESTDIR)$(MODDIR) ; \
$(INSTALL) -o root -g root -m 644 $(KERNELBUSSESTARGETS) $(DESTDIR)$(MODDIR) ; \
fi
+2 -2
View File
@@ -64,8 +64,8 @@ all-kernel-chips: $(KERNELCHIPSTARGETS)
all :: all-kernel-chips
install-kernel-chips: all-kernel-chips
$(MKDIR) $(DESTDIR)$(MODDIR)
if [ -n "$(DESTDIR)$(MODDIR)" ] ; then \
if [ -n "$(KERNELCHIPSTARGETS)" ] ; then \
$(MKDIR) $(DESTDIR)$(MODDIR) ; \
$(INSTALL) -o root -g root -m 644 $(KERNELCHIPSTARGETS) $(DESTDIR)$(MODDIR) ;\
fi
+4 -2
View File
@@ -30,8 +30,10 @@ KERNELINCLUDEFILES += $(MODULE_DIR)/i2c-isa.h
endif
install-all-kernel-include:
$(MKDIR) $(DESTDIR)$(SYSINCLUDEDIR)
$(INSTALL) -o root -g root -m 644 $(KERNELINCLUDEFILES) $(DESTDIR)$(SYSINCLUDEDIR)
if [ -n "$(KERNELINCLUDEFILES)" ] ; then \
$(MKDIR) $(DESTDIR)$(SYSINCLUDEDIR) ; \
$(INSTALL) -o root -g root -m 644 $(KERNELINCLUDEFILES) $(DESTDIR)$(SYSINCLUDEDIR) ; \
fi
install :: install-all-kernel-include