0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-03 03:10:07 -05:00

added phony update target to update the submodule(s)

This commit is contained in:
Bert van der Weerd 2022-01-24 13:06:08 +01:00
parent 554e896e29
commit 3e5aa00b7c
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1

View file

@ -1,4 +1,4 @@
.PHONY : help check all clean veryclean build package run .PHONY : help check all clean veryclean build package run update
version:=$(shell cat ./version) version:=$(shell cat ./version)
release:=$(shell cat ./release) release:=$(shell cat ./release)
@ -29,8 +29,8 @@ help : README.md
@echo "" @echo ""
check : README.md check : update README.md
@python3 scripts/update-version.py python3 scripts/update-version.py
@echo "Current release:" $$(cat ./release) @echo "Current release:" $$(cat ./release)
@ -73,3 +73,6 @@ README.md : README.md.in ./version ./release
@sed "s/__RELEASE__/$(release)/g" < tmp > $@ @sed "s/__RELEASE__/$(release)/g" < tmp > $@
@rm -f tmp @rm -f tmp
update : README.md
git submodule update --recursive --remote