aboutsummaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-04-09 19:44:40 +0200
committerBrian Behlendorf <[email protected]>2022-05-10 10:19:25 -0700
commit2820719800cde2576baa12a43e4b9124a1906e40 (patch)
tree6795fd956d4a286cbfe61a4b3076ebad23eaa3a6 /rpm
parent93a8c85e7bf5acfc3d2d9c6fade77c921c4ae396 (diff)
autoconf: use include directives instead of recursing down rpm
Also simplify .gitignore Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13316
Diffstat (limited to 'rpm')
-rw-r--r--rpm/.gitignore1
-rw-r--r--rpm/Makefile.am9
-rw-r--r--rpm/generic/.gitignore3
-rw-r--r--rpm/generic/Makefile.am1
-rw-r--r--rpm/redhat/.gitignore3
-rw-r--r--rpm/redhat/Makefile.am1
6 files changed, 9 insertions, 9 deletions
diff --git a/rpm/.gitignore b/rpm/.gitignore
new file mode 100644
index 000000000..f83960d1a
--- /dev/null
+++ b/rpm/.gitignore
@@ -0,0 +1 @@
+/*/*.spec
diff --git a/rpm/Makefile.am b/rpm/Makefile.am
index f2cf72cef..216cb731f 100644
--- a/rpm/Makefile.am
+++ b/rpm/Makefile.am
@@ -1 +1,8 @@
-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
diff --git a/rpm/generic/.gitignore b/rpm/generic/.gitignore
deleted file mode 100644
index 7f5daafdd..000000000
--- a/rpm/generic/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/zfs-dkms.spec
-/zfs-kmod.spec
-/zfs.spec
diff --git a/rpm/generic/Makefile.am b/rpm/generic/Makefile.am
deleted file mode 100644
index 89b13640d..000000000
--- a/rpm/generic/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_DIST = zfs.spec.in zfs-kmod.spec.in zfs-dkms.spec.in
diff --git a/rpm/redhat/.gitignore b/rpm/redhat/.gitignore
deleted file mode 100644
index 7f5daafdd..000000000
--- a/rpm/redhat/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/zfs-dkms.spec
-/zfs-kmod.spec
-/zfs.spec
diff --git a/rpm/redhat/Makefile.am b/rpm/redhat/Makefile.am
deleted file mode 100644
index 89b13640d..000000000
--- a/rpm/redhat/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_DIST = zfs.spec.in zfs-kmod.spec.in zfs-dkms.spec.in