Skip to content

Fix make distcheck - #420

Open
fillods wants to merge 2 commits into
csete:masterfrom
fillods:repair_distcheck
Open

fillods wants to merge 2 commits into
csete:masterfrom
fillods:repair_distcheck

Conversation

@fillods

@fillods fillods commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Fix make distcheck and also added "make distcheck" in GitHub CI workflow

Also added "make distcheck" in GitHub CI workflow
Comment thread po/POTFILES.in
src/gtk-sat-module-tmg.c
src/gtk-sat-popup-common.c
src/gtk-sat-selector.c
src/gtk-sat-tree.c

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This change causes the build to fail.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actually the files gtk-sat-tree.c and gtk-sat-tree.h are not compiled in according to src/Makefile.am.
The PR didn't go that far, but shouldn't they be removed from the repo altogether ?
That would solve the build error.
Let me know and I commit the removal.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Ah, okay, got it.
Please do commit the removal, then I can merge it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment thread data/satdata/Makefile.am
gpredict_satdir = $(pkgdatadir)/data/satdata

gpredict_sat_DATA = satellites.dat *.cat
gpredict_sat_DATA = satellites.dat $(top_srcdir)/data/satdata/*.cat

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Not sure why this change is necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Without this change, make invoked with VPATH tries to find the *.cat files from the local build directory, where they are not. In VPATH build, the source dir and build dir are different.
If you don't like the form, here is another way to write it :

gpredict_sat_DATA = satellites.dat $(wildcard *.cat)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for the info. It is fine with the long form.

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