diff --git a/Makefile b/Makefile index 0185899..ccddaaa 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,15 @@ FILES += $(PROJECT)/rss.svg FILES += $(PROJECT)/clipboard.svg FILES += $(PROJECT)/LICENSE -package: copy_license +package: copy_license update_version zip -X $(PROJECT)_v$(VERSION).zip $(FILES) copy_license: @cp "LICENSE" "$(PROJECT)/LICENSE" +update_version: + @sed -i "s/^X-Falkon-Version.*$$/X-Falkon-Version\=$(VERSION)/g" $(PROJECT)/metadata.desktop + clean: rm -f "./$(PROJECT)/LICENSE" rm -f "./$(PROJECT)_v$(VERSION).zip"