X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=c0e82eb688041eb66cb07cfeb67cd0ae8b1c80ff;hb=9b2af9a097c119b818bd584eb89ca51ba475c7f2;hp=2897ae941bdaf04eca86519fd4eb3ef769cff8aa;hpb=0da31cd6ca0dedbf0ceb7118d2cede2e97e73c14;p=zfs.git diff --git a/Makefile.am b/Makefile.am index 2897ae9..c0e82eb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,15 +8,19 @@ SUBDIRS += dracut udev etc man scripts lib cmd endif if CONFIG_KERNEL SUBDIRS += module + +extradir = /usr/src/zfs-$(VERSION) +extra_HEADERS = zfs.release.in zfs_config.h.in + +kerneldir = /usr/src/zfs-$(VERSION)/$(LINUX_VERSION) +nodist_kernel_HEADERS = zfs.release zfs_config.h module/$(LINUX_SYMBOLS) endif AUTOMAKE_OPTIONS = foreign EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am -EXTRA_DIST += META DISCLAIMER COPYRIGHT README.markdown -EXTRA_DIST += OPENSOLARIS.LICENSE ZFS.RELEASE +EXTRA_DIST += META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE EXTRA_DIST += dkms.postinst copy-builtin -noinst_HEADERS = zfs_config.h zfs.release distclean-local:: -$(RM) -R autom4te*.cache @@ -30,15 +34,6 @@ distclean-local:: -o -name '*.order' -o -name '*.markers' \) \ -type f -print | xargs $(RM) -if CONFIG_KERNEL -install-data-local: - release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \ - instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \ - for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ - $(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \ - done -endif - ctags: $(RM) $(top_srcdir)/tags find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags