diff options
Diffstat (limited to 'macros/latex/contrib/doclicense/Makefile')
-rw-r--r-- | macros/latex/contrib/doclicense/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/macros/latex/contrib/doclicense/Makefile b/macros/latex/contrib/doclicense/Makefile index bfa65debc3..9f00b5930d 100644 --- a/macros/latex/contrib/doclicense/Makefile +++ b/macros/latex/contrib/doclicense/Makefile @@ -22,10 +22,18 @@ install: mkdir --parents "$(TEXMFHOME)/tex/latex/" test -L "$(TEXMFHOME)/tex/latex/doclicense" || ln --no-target-directory --symbolic "$$PWD" "$(TEXMFHOME)/tex/latex/doclicense" -# Run before release. .PHONY: check -check: run_tests doclicense.sty lint - ./"$<" +check: check-copyright-date manifest.txt doclicense.sty lint + +# Run before release. +.PHONY: check-full +check-full: check run_tests + ./run_tests + +# CTAN people want this when uploading a release. +.PHONY: check-copyright-date +check-copyright-date: README.md + grep --quiet 'SPDX-FileCopyrightText:.*$(shell date +%Y)\s' "$<" .PHONY: lint lint: doclicense.dtx |