diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-07-03 14:12:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-03 14:12:53 +0100 |
| commit | 036f08f14a029b64366eff61e30a2de49e591759 (patch) | |
| tree | 832cda9b7c4866e46fa0cbb2e712b48400372b79 /Makefile | |
| parent | 12622098d406b5fbb66f79c17d70f7c47528f12f (diff) | |
| parent | 6ea9bbc2f9a6f27ba194192adc8032e10685b0d8 (diff) | |
| download | vyos-1x-036f08f14a029b64366eff61e30a2de49e591759.tar.gz vyos-1x-036f08f14a029b64366eff61e30a2de49e591759.zip | |
Merge pull request #4585 from c-po/copyright-notice
T7591: remove copyright years from source files
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -89,7 +89,14 @@ vyshim: $(MAKE) -C $(SHIM_DIR) .PHONY: all -all: clean libvyosconfig interface_definitions op_mode_definitions test j2lint vyshim generate-configd-include-json +all: clean copyright libvyosconfig interface_definitions op_mode_definitions test j2lint vyshim generate-configd-include-json + +.PHONY: copyright +copyright: + @if git grep -q -E "Copyright( \(C\))? (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers"; then \ + echo "Error: Legacy copyright notice found."; \ + exit 1; \ + fi .PHONY: clean clean: |
