mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Merge pull request #419 from glutanimate/add-develop-target-to-main-makefile
Split root develop steps into separate develop target
This commit is contained in:
commit
afe391c18b
1 changed files with 9 additions and 4 deletions
13
Makefile
13
Makefile
|
@ -28,13 +28,18 @@ buildhash:
|
|||
echo $$newhash > meta/buildhash; \
|
||||
fi
|
||||
|
||||
.PHONY: run
|
||||
run: pyenv buildhash
|
||||
.PHONY: develop
|
||||
develop: pyenv buildhash
|
||||
@set -e && \
|
||||
. pyenv/bin/activate && \
|
||||
for dir in $(DEVEL); do \
|
||||
$(SUBMAKE) -C $$dir develop BUILDFLAGS="$(BUILDFLAGS)"; \
|
||||
done; \
|
||||
$(SUBMAKE) -C $$dir develop BUILDFLAGS="$(BUILDFLAGS)"; \
|
||||
done
|
||||
|
||||
.PHONY: run
|
||||
run: develop
|
||||
@set -e && \
|
||||
. pyenv/bin/activate && \
|
||||
echo "Starting Anki..."; \
|
||||
qt/runanki $(RUNFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue