Fix spl_config.h install permissions

The default permissions used by install are 755.  Since this
file isn't executable 644 is more appropriate.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Brian Behlendorf 2013-02-08 13:54:24 -08:00
parent 8adf71e9b0
commit fea77534f0
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ install-data-local:
release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
$(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \
done
endif

View File

@ -19,7 +19,7 @@ install-data-local:
instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
instfiles=`find . -name '*.h'`; \
for instfile in $$instfiles; do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
$(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \
done
uninstall-local: