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

include: Do not generate xbps.h.in #598

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meator
Copy link
Contributor

@meator meator commented May 23, 2024

xbps.h.in makes no mention of @@VERSION@@, so xbps.h.in gets copied verbatim to xbps.h. This adds unnecessary complexity and indirection.

@@ -4,7 +4,7 @@ INCS = xbps.h

.PHONY: all
all:
sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS}
@:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure if this is the right solution. Removal of the all target would lead to install becoming the default one, which is not desirable. I have replaced sed with the "do nothing" @: statement instead.

@meator
Copy link
Contributor Author

meator commented May 24, 2024

Check error is caused by faulty checks: #595

xbps.h.in makes no mention of @@Version@@, so xbps.h.in gets copied
verbatim to xbps.h. This adds unnecessary complexity and indirection.
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