From 8a6065d53dcbc1f0cedd6925681b43c9c5e0b890 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 21 Jan 2024 09:28:01 +0100 Subject: doc: Add license text as appendix The text of each used license is added to the documentation PDF since this might be passed to third parties without the source or build tree. Adding the licenses to the PDF makes sure they are always accessible. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 729e61a..bd8c14e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ BUILD_DIR := ./build +LICENSE := $(BUILD_DIR)/LICENSE.txt DATE := $(BUILD_DIR)/date.txt VERSION_FILE := $(BUILD_DIR)/version.txt ARTIFACTS_DIR := $(BUILD_DIR)/artifacts @@ -10,6 +11,9 @@ ARCHIVE := $(ARTIFACTS_DIR)/$(TARGET_NAME).tar.zst all: $(ARCHIVE) $(VERSIONED_DOC) +$(LICENSE): + cp LICENSE.txt $@ + .PHONY: $(DATE) $(DATE): git show -s --format=%cs > $@ -- cgit v1.2.3-70-g09d2