Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build process #2

Open
wants to merge 4 commits into
base: docs-ja
Choose a base branch
from

Conversation

gemmaro
Copy link

@gemmaro gemmaro commented Sep 4, 2023

Hello,

This is a continuation from #1, migrating from deprecated po4a-updatepo and po4a-translate to integrated po4a command.

The *.po, *.texi, and *.info files are not updated for this time.

Update: Add PO files to prerequisites:

diff --git a/docs/docs-ja/Makefile b/docs/docs-ja/Makefile
index 5887c8cf..d167f73f 100644
--- a/docs/docs-ja/Makefile
+++ b/docs/docs-ja/Makefile
@@ -52,7 +52,7 @@ $(PO4A_CONFIG):
        TRANSLATE_RAW_DIR=$(TRANSLATE_RAW_DIR)          \
                ./generate-po4a-config > $@
 
-$(TARGET_TRANSLATE_RAW_TEXI) &: $(TARGET_SED_OUT) $(PO4A_CONFIG)
+$(TARGET_TRANSLATE_RAW_TEXI) &: $(TARGET_SED_OUT) $(TARGET_PO) $(PO4A_CONFIG)
        po4a $(PO4A_CONFIG)
 
 $(TARGET_TEXI): %.ja.texi : $(TRANSLATE_RAW_DIR)/%.ja.texi

Update2: Correctly set pot specifiers for split mode, update PO files, and generate translations.

Best,

@gemmaro gemmaro marked this pull request as ready for review September 4, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant