diff mbox series

tests/ceph: add Makefile

Message ID 20201101171619.323800-1-ebiggers@kernel.org (mailing list archive)
State New, archived
Headers show
Series tests/ceph: add Makefile | expand

Commit Message

Eric Biggers Nov. 1, 2020, 5:16 p.m. UTC
From: Eric Biggers <ebiggers@google.com>

'make install' stopped working because the tests/ceph/ directory is
missing a Makefile.  Add it.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 tests/ceph/Makefile | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 tests/ceph/Makefile

Comments

Luis Henriques Nov. 1, 2020, 6:28 p.m. UTC | #1
Eric Biggers <ebiggers@kernel.org> writes:

> From: Eric Biggers <ebiggers@google.com>
>
> 'make install' stopped working because the tests/ceph/ directory is
> missing a Makefile.  Add it.

Yikes!  Sorry about that.  Thanks for fixing this, Eric.

Cheers,
Bill O'Donnell Nov. 2, 2020, 8:25 p.m. UTC | #2
On Sun, Nov 01, 2020 at 09:16:19AM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 'make install' stopped working because the tests/ceph/ directory is
> missing a Makefile.  Add it.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

thanks-
Reviewed-by: Bill O'Donnell <billodo@redhat.com>

> ---
>  tests/ceph/Makefile | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 tests/ceph/Makefile
> 
> diff --git a/tests/ceph/Makefile b/tests/ceph/Makefile
> new file mode 100644
> index 00000000..55e35d77
> --- /dev/null
> +++ b/tests/ceph/Makefile
> @@ -0,0 +1,18 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
> +TOPDIR = ../..
> +include $(TOPDIR)/include/builddefs
> +
> +CEPH_DIR = ceph
> +TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(CEPH_DIR)
> +
> +include $(BUILDRULES)
> +
> +install:
> +	$(INSTALL) -m 755 -d $(TARGET_DIR)
> +	$(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
> +	$(INSTALL) -m 644 group $(TARGET_DIR)
> +	$(INSTALL) -m 644 $(OUTFILES) $(TARGET_DIR)
> +
> +# Nothing.
> +install-dev install-lib:
> -- 
> 2.29.1
>
Vladimir Zapolskiy Nov. 3, 2020, 11:27 a.m. UTC | #3
On 11/1/20 7:16 PM, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 'make install' stopped working because the tests/ceph/ directory is
> missing a Makefile.  Add it.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Thank you for the fix.

Reviewed-by: Vladimir Zapolskiy <vladimir@tuxera.com>
Tested-by: Vladimir Zapolskiy <vladimir@tuxera.com>

--
Best wishes,
Vladimir
diff mbox series

Patch

diff --git a/tests/ceph/Makefile b/tests/ceph/Makefile
new file mode 100644
index 00000000..55e35d77
--- /dev/null
+++ b/tests/ceph/Makefile
@@ -0,0 +1,18 @@ 
+# SPDX-License-Identifier: GPL-2.0
+
+TOPDIR = ../..
+include $(TOPDIR)/include/builddefs
+
+CEPH_DIR = ceph
+TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(CEPH_DIR)
+
+include $(BUILDRULES)
+
+install:
+	$(INSTALL) -m 755 -d $(TARGET_DIR)
+	$(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
+	$(INSTALL) -m 644 group $(TARGET_DIR)
+	$(INSTALL) -m 644 $(OUTFILES) $(TARGET_DIR)
+
+# Nothing.
+install-dev install-lib: