Also simplify .gitignore
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13316
SUBDIRS = include
if BUILD_LINUX
-SUBDIRS += rpm
+include $(srcdir)/%D%/rpm/Makefile.am
endif
CPPCHECKDIRS += etc/systemd/system-generators
lib/libzfs_core/libzfs_core.pc
module/Kbuild
module/Makefile
- rpm/Makefile
- rpm/generic/Makefile
rpm/generic/zfs-dkms.spec
rpm/generic/zfs-kmod.spec
rpm/generic/zfs.spec
- rpm/redhat/Makefile
rpm/redhat/zfs-dkms.spec
rpm/redhat/zfs-kmod.spec
rpm/redhat/zfs.spec
-SUBDIRS = generic redhat
+EXTRA_DIST += \
+ %D%/generic/zfs-dkms.spec.in \
+ %D%/generic/zfs-kmod.spec.in \
+ %D%/generic/zfs.spec.in \
+ \
+ %D%/redhat/zfs-dkms.spec.in \
+ %D%/redhat/zfs-kmod.spec.in \
+ %D%/redhat/zfs.spec.in
+++ /dev/null
-/zfs-dkms.spec
-/zfs-kmod.spec
-/zfs.spec
+++ /dev/null
-EXTRA_DIST = zfs.spec.in zfs-kmod.spec.in zfs-dkms.spec.in
+++ /dev/null
-/zfs-dkms.spec
-/zfs-kmod.spec
-/zfs.spec
+++ /dev/null
-EXTRA_DIST = zfs.spec.in zfs-kmod.spec.in zfs-dkms.spec.in