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:
parent
554e896e29
commit
3e5aa00b7c
1 changed files with 6 additions and 3 deletions
9
Makefile
9
Makefile
|
@ -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)
|
||||
release:=$(shell cat ./release)
|
||||
|
@ -29,8 +29,8 @@ help : README.md
|
|||
@echo ""
|
||||
|
||||
|
||||
check : README.md
|
||||
@python3 scripts/update-version.py
|
||||
check : update README.md
|
||||
python3 scripts/update-version.py
|
||||
@echo "Current release:" $$(cat ./release)
|
||||
|
||||
|
||||
|
@ -73,3 +73,6 @@ README.md : README.md.in ./version ./release
|
|||
@sed "s/__RELEASE__/$(release)/g" < tmp > $@
|
||||
@rm -f tmp
|
||||
|
||||
|
||||
update : README.md
|
||||
git submodule update --recursive --remote
|
||||
|
|
Loading…
Reference in a new issue