Skip to content

Commit

Permalink
Makefile: Add doc target
Browse files Browse the repository at this point in the history
Alias for metadata and docparse generation.

Link: https://lore.kernel.org/ltp/[email protected]/
Reviewed-by: Cyril Hrubis <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Mar 18, 2024
1 parent d06621f commit 91cee32
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 91cee32

Please sign in to comment.