RSSFinder/Makefile
Juraj Oravec 3828d78e94
Update version to 0.4.0
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-03-05 23:30:47 +01:00

23 lines
542 B
Makefile

PROJECT = rssfinder
VERSION = 0.4.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"