Skip to contentSkip to conversation

tests/ceph: add Makefile

PATCH In review Eric Biggers 4 participants 4 messages Nov 1, 2020 – Nov 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/ceph: add Makefile

From: Eric Biggers <[email protected]>

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

---
 tests/ceph/Makefile | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 tests/ceph/Makefile
tests/ceph/Makefile new file +18 -0
new file mode 100644
index 00000000..55e35d77
@@ -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:
Signature · 1 line
2.29.1
#1 lore raw
Quoted 4 lines · Eric Biggers

From: Eric Biggers <[email protected]>

'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,

Signature · 1 line
Luis
Quoted 31 lines
---
 tests/ceph/Makefile | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 tests/ceph/Makefile
tests/ceph/Makefile new file +18 -0
new file mode 100644
index 00000000..55e35d77
@@ -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:
Reviewed-by on v1 1/1
#2 lore raw
In reply to Eric Biggers
Quoted 6 lines · Eric Biggers

From: Eric Biggers <[email protected]>

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

thanks-

Quoted 32 lines
---
 tests/ceph/Makefile | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 tests/ceph/Makefile
tests/ceph/Makefile new file +18 -0
new file mode 100644
index 00000000..55e35d77
@@ -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:
Signature · 1 line
2.29.1