X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=9c299a9efe23c2894348bfd771b56fe9dbc00090;hb=refs%2Fheads%2Frertzinger%2Ffeature-zpool-get--p;hp=c0e82eb688041eb66cb07cfeb67cd0ae8b1c80ff;hpb=775f2d34a3ccd5f866cfa04be76f83cb562f3881;p=zfs.git diff --git a/Makefile.am b/Makefile.am index c0e82eb..9c299a9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,11 @@ + +ACLOCAL_AMFLAGS = -I config + include $(top_srcdir)/config/rpm.am include $(top_srcdir)/config/deb.am include $(top_srcdir)/config/tgz.am -SUBDIRS = include +SUBDIRS = include rpm if CONFIG_USER SUBDIRS += dracut udev etc man scripts lib cmd endif @@ -17,10 +20,9 @@ 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 = autogen.sh copy-builtin EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am EXTRA_DIST += META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE -EXTRA_DIST += dkms.postinst copy-builtin distclean-local:: -$(RM) -R autom4te*.cache @@ -34,6 +36,10 @@ distclean-local:: -o -name '*.order' -o -name '*.markers' \) \ -type f -print | xargs $(RM) +dist-hook: + sed -i 's/Release:[[:print:]]*/Release: $(RELEASE)/' \ + $(distdir)/META + ctags: $(RM) $(top_srcdir)/tags find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags @@ -45,5 +51,5 @@ etags: tags: ctags etags pkg: @DEFAULT_PACKAGE@ -pkg-modules: @DEFAULT_PACKAGE@-modules +pkg-kmod: @DEFAULT_PACKAGE@-kmod pkg-utils: @DEFAULT_PACKAGE@-utils