Makefile - Add metadate version update
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
a235e783a7
commit
8e573ce062
5
Makefile
5
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"
|
||||
|
Loading…
Reference in New Issue
Block a user