From 09dbb90d3bb90960bb929483d40eefa83d5ff0e3 Mon Sep 17 00:00:00 2001 From: David Dai Date: Fri, 23 Aug 2024 13:06:52 +0800 Subject: [PATCH] Minor simplify to Makefile --- .github/workflows/build_docker.yml | 3 +++ Makefile | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index 0dfe116..c361542 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -6,6 +6,9 @@ on: - master paths-ignore: - 'README.md' + - 'README_zh.md' + - 'Makefile' + - 'ruff.toml' workflow_dispatch: env: diff --git a/Makefile b/Makefile index 741898c..63a80e0 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,8 @@ locale/$(1)/LC_MESSAGES/beanbot.po: $(POT_FILE) @mkdir -p $$(dir $$@) @if [ ! -f $$@ ]; then \ msginit -i $$< -o $$@ -l $(1); \ - elif [ $$< -nt $$@ ]; then \ - msgmerge --update $$@ $$<; \ else \ - echo "$$@ is up to date"; \ + msgmerge --update $$@ $$<; \ fi endef