Skip to content

Commit

Permalink
Minor simplify to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
StdioA committed Aug 23, 2024
1 parent cb9c78c commit 09dbb90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- master
paths-ignore:
- 'README.md'
- 'README_zh.md'
- 'Makefile'
- 'ruff.toml'
workflow_dispatch:

env:
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 09dbb90

Please sign in to comment.