Skip to content

fix Makefile dist target #114

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Dec 12, 2023
Merged

fix Makefile dist target #114

merged 1 commit into from
Dec 12, 2023

Conversation

pdowler
Copy link
Contributor

@pdowler pdowler commented Dec 6, 2023

the sparse.c and sscan.c files are now committed in src dir

I use the dist target to create tarballs as part of building rpm packages.

the sparse.c and sscan.c files are now committed in src dir
Copy link
Contributor

@esabol esabol left a comment

Choose a reason for hiding this comment

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

This isn't a Makefile target that I use, so I trust you know what's best here.

@vitcpp
Copy link
Contributor

vitcpp commented Dec 8, 2023

@pdowler There is intention to remove these files from the src directory and auto-generate it. Can such possible change break your rule?

@pdowler
Copy link
Contributor Author

pdowler commented Dec 8, 2023

When I added that rule back in 1.1.x those files were generated in the base dir and it was the quick and dirty way to make a src tarball... wasn't the right choice back then. Now, it looks like the C files are in src and committed to git so that is no longer needed.

If there is a change in future to not have those generated C files committed, then next time around I'll fix the rpm build setup instead so it can generate them correctly.

I don't know the pros and cons of those files being committed to git... probably wouldn't have been my choice (minimalist)., but I don't intend to change that.

@vitcpp vitcpp merged commit 597600e into postgrespro:master Dec 12, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants