2022-03-12 15:24:03 +01:00
|
|
|
PROJECT = rssfinder
|
2023-03-05 23:30:47 +01:00
|
|
|
VERSION = 0.4.0
|
2022-03-12 15:24:03 +01:00
|
|
|
|
|
|
|
FILES = $(PROJECT)/main.qml
|
|
|
|
FILES += $(PROJECT)/finder.js
|
|
|
|
FILES += $(PROJECT)/metadata.desktop
|
2022-03-12 23:31:47 +01:00
|
|
|
FILES += $(PROJECT)/rss.svg
|
2023-02-21 23:16:30 +01:00
|
|
|
FILES += $(PROJECT)/clipboard.svg
|
2023-03-05 22:15:58 +01:00
|
|
|
FILES += $(PROJECT)/LICENSE
|
2022-03-12 15:24:03 +01:00
|
|
|
|
2023-03-05 23:25:29 +01:00
|
|
|
package: copy_license update_version
|
2022-03-12 15:24:03 +01:00
|
|
|
zip -X $(PROJECT)_v$(VERSION).zip $(FILES)
|
|
|
|
|
2023-03-05 22:15:58 +01:00
|
|
|
copy_license:
|
|
|
|
@cp "LICENSE" "$(PROJECT)/LICENSE"
|
|
|
|
|
2023-03-05 23:25:29 +01:00
|
|
|
update_version:
|
|
|
|
@sed -i "s/^X-Falkon-Version.*$$/X-Falkon-Version\=$(VERSION)/g" $(PROJECT)/metadata.desktop
|
|
|
|
|
2022-03-12 15:24:03 +01:00
|
|
|
clean:
|
2023-03-05 22:15:58 +01:00
|
|
|
rm -f "./$(PROJECT)/LICENSE"
|
|
|
|
rm -f "./$(PROJECT)_v$(VERSION).zip"
|