diff options
Diffstat (limited to '0002-Remove-bad-build-steps-from-makefiles.patch')
-rw-r--r-- | 0002-Remove-bad-build-steps-from-makefiles.patch | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/0002-Remove-bad-build-steps-from-makefiles.patch b/0002-Remove-bad-build-steps-from-makefiles.patch new file mode 100644 index 000000000000..2a347e969d98 --- /dev/null +++ b/0002-Remove-bad-build-steps-from-makefiles.patch @@ -0,0 +1,94 @@ +From 2f3da2ef25943d468d6d992589979f1c92f3fb92 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= <johannes@kyriasis.com> +Date: Sun, 29 Mar 2020 05:54:00 +0200 +Subject: [PATCH 2/5] Remove bad build steps from makefiles +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> +--- + Makefile | 2 +- + pylib/Makefile | 4 ++-- + qt/Makefile | 2 +- + rslib/Makefile | 2 +- + rspy/Makefile | 2 +- + 5 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index d99e115a..cffa2e30 100644 +--- a/Makefile ++++ b/Makefile +@@ -90,7 +90,7 @@ buildhash: + fi + + .PHONY: develop +-develop: pyenv buildhash prepare ++develop: pyenv buildhash + @set -eu -o pipefail ${SHELLFLAGS}; \ + . "${ACTIVATE_SCRIPT}"; \ + for dir in $(DEVEL); do \ +diff --git a/pylib/Makefile b/pylib/Makefile +index 5cb14e09..8d8388c3 100644 +--- a/pylib/Makefile ++++ b/pylib/Makefile +@@ -41,7 +41,7 @@ all: check + + PROTODEPS := ../proto/backend.proto ../proto/fluent.proto + +-.build/py-proto: .build/dev-deps $(PROTODEPS) ++.build/py-proto: $(PROTODEPS) + protoc --proto_path=../proto --python_out=anki --mypy_out=anki $(PROTODEPS) + perl -i'' -pe 's/from fluent_pb2/from anki.fluent_pb2/' anki/backend_pb2.pyi + perl -i'' -pe 's/import fluent_pb2/import anki.fluent_pb2/' anki/backend_pb2.py +@@ -54,7 +54,7 @@ PROTODEPS := ../proto/backend.proto ../proto/fluent.proto + python -m black -t py36 anki/hooks.py + @touch $@ + +-BUILD_STEPS := .build/vernum .build/run-deps .build/dev-deps anki/buildinfo.py .build/py-proto .build/hooks ++BUILD_STEPS := .build/vernum .build/run-deps .build/dev-deps anki/buildinfo.py .build/py-proto + + # Checking + ###################### +diff --git a/qt/Makefile b/qt/Makefile +index 4fc6b482..b50d1868 100644 +--- a/qt/Makefile ++++ b/qt/Makefile +@@ -64,7 +64,7 @@ TSDEPS := $(wildcard ts/src/*.ts) $(wildcard ts/scss/*.scss) + python -m black aqt/gui_hooks.py + @touch $@ + +-BUILD_STEPS := .build/vernum .build/run-deps .build/dev-deps .build/js .build/ui aqt/buildinfo.py .build/hooks .build/i18n ++BUILD_STEPS := .build/vernum .build/js .build/ui aqt/buildinfo.py .build/i18n + + # Checking + ###################### +diff --git a/rslib/Makefile b/rslib/Makefile +index 7a18b53e..aa42c712 100644 +--- a/rslib/Makefile ++++ b/rslib/Makefile +@@ -25,7 +25,7 @@ fix: + clean: + rm -rf .build target + +-develop: .build/vernum ftl/repo ++develop: .build/vernum + + ftl/repo: + (cd ftl && ./scripts/fetch-latest-translations) +diff --git a/rspy/Makefile b/rspy/Makefile +index 5eb9ea8f..ed401be9 100644 +--- a/rspy/Makefile ++++ b/rspy/Makefile +@@ -52,7 +52,7 @@ all: develop + + develop: .build/develop + +-DEPS := .build/tools .build/vernum ../meta/buildhash \ ++DEPS := .build/vernum ../meta/buildhash \ + $(wildcard $(QT_FTL_TEMPLATES)/*.ftl) \ + $(wildcard $(QT_FTL_LOCALES)/*/*.ftl) \ + $(shell "${FIND}" ../rslib/src -name '*.rs' -or -name '*.sql') $(wildcard ../proto/*) \ +-- +2.29.2 + |