VOL-4926 - godownloader no longer available.
Makefile
makefiles/include.mk
makefiles/commands/kail.mk
--------------------
o Refactor Makefile to reduce content.
o Move defauilt makefile librarie includes into makefiles/include.mk
o Move kail target dependency into makefiles/commands/kail.
o Add 'kail' as a phony target to simplify installation use.
etc/godownloader.sh
-------------------
o Inline a stub "copyright ccyy" to short-circuit lint-license checking.
Misc
----
o Update copyright notices to +2023
Change-Id: I8d9bff6f1b535991cc7d100f28c1821f6bca2964
diff --git a/Makefile b/Makefile
index 9c9b8da..d3cf302 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# -*- makefile -*-
# -----------------------------------------------------------------------
-# Copyright 2022 Open Networking Foundation
+# Copyright 2022-2023 Open Networking Foundation (ONF) and the ONF Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -26,8 +26,7 @@
##--------------------##
##---] INCLUDES [---##
##--------------------##
-include $(MAKEDIR)/consts.mk
-include $(MAKEDIR)/help.mk
+include $(MAKEDIR)/include.mk
include $(MAKEDIR)/patches/include.mk
# Configuration and lists of files for linting/testing
@@ -781,10 +780,8 @@
@echo
##----------------##
-##---] LINT [---##
+##---] TEST [---##
##----------------##
-include $(MAKEDIR)/lint.mk
-
test: lint
# tidy target will be more useful once issue with removing leading comments
@@ -793,16 +790,6 @@
source ./$</bin/activate ; set -u ;\
python -m robot.tidy --inplace $(ROBOT_FILES);
-# -----------------------------------------------------------------------
-# Install the 'kail' tool if needed: https://github.com/boz/kail
-# -----------------------------------------------------------------------
-KAIL_PATH ?= /usr/local/bin
-kail-cmd ?= $(KAIL_PATH)/kail
-$(kail-cmd):
- etc/godownloader.sh -b .
- rsync -v --checksum kail "$@"
- $(RM) kail
-
## Variables for gendocs
TEST_SOURCE := $(wildcard tests/*/*.robot)
TEST_BASENAME := $(basename $(TEST_SOURCE))