summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/client/makefile b/client/makefile
index bfcbbff5..2c13b6c4 100644
--- a/client/makefile
+++ b/client/makefile
@@ -13,10 +13,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
+
+LOCALES = $(patsubst ../locale/%.ini,po/%.po,$(wildcard ../locale/*.ini))
+
.PHONY: assets clean all locales
-all: .godot/import-finished assets locales icons/adaptive-background.png icons/adaptive-foreground.png
-assets: menu/book/book_01.webp
-locales: $(patsubst ../locale/%.ini,po/%.po,$(wildcard ../locale/*.ini))
+all: .godot/import-finished locales icons/adaptive-background.png icons/adaptive-foreground.png
+locales: $(LOCALES)
LT = ../target/release/localetool
@@ -24,15 +26,10 @@ clean:
rm -f menu/book/book_*.webp
rm -f icons/adaptive-foreground.png icons/adaptive-background.png
-.godot/import-finished: assets locales
+.godot/import-finished: $(LOCALES)
godot --headless --import project.godot
touch $@
-menu/book/book_01.webp:
- @echo Downloading recipe book...
- @mkdir -p menu/book
- @curl -L https://s.metamuffin.org/static/hurrycurry/book.webp.tar.zst | tar -xC menu/book
-
$(LT): $(shell find ../locale/tools -type f)
{ cd ..; cargo $(CARGOFLAGS) build --release --bin localetool; }