From a235e783a76d63dc77e3b1db218b0854e481b593 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Sun, 5 Mar 2023 22:15:58 +0100 Subject: [PATCH] Add LICENSE to the archive Signed-off-by: Juraj Oravec --- .gitignore | 1 + Makefile | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c4c4ffc..773cf38 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.zip +rssfinder/LICENSE diff --git a/Makefile b/Makefile index 28c5032..0185899 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,14 @@ FILES += $(PROJECT)/finder.js FILES += $(PROJECT)/metadata.desktop FILES += $(PROJECT)/rss.svg FILES += $(PROJECT)/clipboard.svg +FILES += $(PROJECT)/LICENSE -package: +package: copy_license zip -X $(PROJECT)_v$(VERSION).zip $(FILES) +copy_license: + @cp "LICENSE" "$(PROJECT)/LICENSE" + clean: - rm "./$(PROJECT)_v$(VERSION).zip" + rm -f "./$(PROJECT)/LICENSE" + rm -f "./$(PROJECT)_v$(VERSION).zip"