RSSFinder/Makefile
Juraj Oravec 8e573ce062
Makefile - Add metadate version update
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-03-05 23:25:29 +01:00

23 lines
542 B
Makefile

PROJECT = rssfinder
VERSION = 0.3.0
FILES = $(PROJECT)/main.qml
FILES += $(PROJECT)/finder.js
FILES += $(PROJECT)/metadata.desktop
FILES += $(PROJECT)/rss.svg
FILES += $(PROJECT)/clipboard.svg
FILES += $(PROJECT)/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"