X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=833bee64e511289fbe4c0d18a01e6c094ae166d1;hb=65d56083b4617a4cade0cff68cbbaf68114169d6;hp=17a6a26e7e25796ab1bed0839711d7d370a7839c;hpb=b40a77aefca3d0832396edd35f597100d152f163;p=zfs.git diff --git a/Makefile.am b/Makefile.am index 17a6a26..833bee6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,21 +3,21 @@ include $(top_srcdir)/config/deb.am include $(top_srcdir)/config/tgz.am include $(top_srcdir)/config/arch.am +SUBDIRS = include if CONFIG_USER -USER_DIR = dracut udev etc man scripts lib cmd +SUBDIRS += dracut udev etc man scripts lib cmd endif if CONFIG_KERNEL -KERNEL_DIR = module +SUBDIRS += module endif -SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include 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 - -noinst_HEADERS = zfs_config.h +EXTRA_DIST += dkms.postinst copy-builtin +noinst_HEADERS = zfs_config.h zfs.release distclean-local:: -$(RM) -R autom4te*.cache @@ -35,7 +35,6 @@ if CONFIG_KERNEL install-data-local: release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \ instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \ - echo "$$release" >$$instdest/zfs.release; \ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ $(INSTALL) -D $$instfile $$instdest/$$instfile; \ done