summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-21 09:28:01 +0100
committerxengineering <me@xengineering.eu>2024-02-02 21:06:23 +0100
commit8a6065d53dcbc1f0cedd6925681b43c9c5e0b890 (patch)
tree099e4fce4a6f37e5d5d742fc776f4e20c1279cbb /Makefile
parent52e93507245fb2c2421f0d324d6af1724ea847a9 (diff)
downloadsoundbox-8a6065d53dcbc1f0cedd6925681b43c9c5e0b890.tar
soundbox-8a6065d53dcbc1f0cedd6925681b43c9c5e0b890.tar.zst
soundbox-8a6065d53dcbc1f0cedd6925681b43c9c5e0b890.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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 > $@