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

Fix installation from dist tarball #804

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

mattias-p
Copy link
Member

@mattias-p mattias-p commented Oct 14, 2020

This fixes installation from dist tarball. The problem is that *.po isn't expanded to the empty string if there are no PO files. One thing leads to another and all of a sudden xgettext is required at installation time, which it's not supposed to be.

The PR also includes a small simplification of the installation instruction.

Without this fix we end up requiring xgettext on installation, which isn't
supposed to be needed.
@mattias-p mattias-p added this to the v2020.1 milestone Oct 14, 2020
@@ -2,7 +2,7 @@
.SUFFIXES: .po .mo
.PHONY: all check-msg-args dist extract-pot tidy-po show-fuzzy touch-po update-po

POFILES != echo *.po
POFILES != find . -type f -name '*.po'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will find files further down. "-depth0", maybe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt there will be any. But sure, I'll add that as a drive-by fix in a future PR.

@mattias-p mattias-p merged commit be87249 into zonemaster:develop Oct 15, 2020
@mattias-p mattias-p deleted the installation branch January 7, 2021 11:48
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.

2 participants