mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
Split root develop steps into separate develop target
Allows development tools to directly debug qt/runanki while using `make develop` as a debugging pre-launch task.
This commit is contained in:
parent
02720ec604
commit
8ff506f184
1 changed files with 9 additions and 4 deletions
11
Makefile
11
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; \
|
||||
done
|
||||
|
||||
.PHONY: run
|
||||
run: develop
|
||||
@set -e && \
|
||||
. pyenv/bin/activate && \
|
||||
echo "Starting Anki..."; \
|
||||
qt/runanki $(RUNFLAGS)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue