Edits needed for repo:voltha-docs use.
Support a named makefile target for license checking.
makefiles/lint/license/include.mk
makefiles/lint/license/reuse.mk
makefiles/lint/license/help.mk
makefiles/lint/license/install.mk
---------------------------------
o Add reuse/license checking makefile targets.
o repo:voltha-docs jobs perform compliance testing.
Change-Id: Ibb4a30a4b18017a8ff15cdd2bb92d1dc357a5de4
diff --git a/makefiles/lint/license/reuse.mk b/makefiles/lint/license/reuse.mk
index 5572bef..408a329 100644
--- a/makefiles/lint/license/reuse.mk
+++ b/makefiles/lint/license/reuse.mk
@@ -23,19 +23,17 @@
##---] TARGETS [---##
##-------------------##
ifndef NO-LINT-REUSE
- lint : lint-license
+ lint : lint-reuse
endif
+lint-reuse-all : lint-reuse
+lint-reuse-mod : lint-reuse
+lint-reuse-src : lint-reuse
+
## -----------------------------------------------------------------------
## Intent: Perform a lint check on makefile sources
## -----------------------------------------------------------------------
-lint-license:
+lint-reuse:
reuse --root . lint
-## -----------------------------------------------------------------------
-## Intent: Display command help
-## -----------------------------------------------------------------------
-help-summary ::
- @echo ' lint-reuse License syntax checking"
-
# [EOF]