mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
fea77534f0
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>
29 lines
1.2 KiB
Makefile
29 lines
1.2 KiB
Makefile
# All headers are referenced by this top level Makefile.am are
|
|
# noinst_HEADERS because they are not installed in the usual include
|
|
# location. We do not want to be using $includedir for this.
|
|
# Installation is handled by the custom install-data-local rule.
|
|
noinst_HEADERS = $(top_srcdir)/include/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/fs/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/linux/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/rpc/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/sharefs/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/fm/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/fs/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/sysevent/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/util/*.h
|
|
noinst_HEADERS += $(top_srcdir)/include/vm/*.h
|
|
|
|
install-data-local:
|
|
release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
|
|
instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
|
|
instfiles=`find . -name '*.h'`; \
|
|
for instfile in $$instfiles; do \
|
|
$(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \
|
|
done
|
|
|
|
uninstall-local:
|
|
release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
|
|
instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
|
|
$(RM) -R $$instdest
|