[LTP] [PATCH 1/3] Makefile: Add doc target
Petr Vorel
petr.vorel@gmail.com
Thu Jan 4 22:19:33 CET 2024
From: Petr Vorel <pvorel@suse.cz>
Alias for metadata and docparse generation.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 53f94d9f7..ee92e64ea 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (c) Linux Test Project, 2009-2022
+# Copyright (c) Linux Test Project, 2009-2024
# Copyright (c) Cisco Systems Inc., 2009-2010
# Ngie Cooper, July 2009
@@ -178,6 +178,9 @@ INSTALL_TARGETS += $(addprefix $(DESTDIR)/$(bindir)/,$(BINDIR_INSTALL_SCRIPTS))
$(INSTALL_TARGETS): $(INSTALL_DIR) $(DESTDIR)/$(bindir)
+.PHONY: doc
+doc: metadata-all
+
.PHONY: check
check: $(CHECK_TARGETS)
@@ -209,7 +212,7 @@ endif
$(call _test,-s)
test-metadata: metadata-all
- $(MAKE) -C $(abs_srcdir)/metadata/ test
+ $(MAKE) -C $(abs_srcdir)/metadata test
## Help
.PHONY: help
--
2.43.0
More information about the ltp
mailing list