Skip to content

Remove version.h from source directory #3196

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

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

Conversation

yizhao1
Copy link

@yizhao1 yizhao1 commented Apr 25, 2025

The version.h should be generated from version.h.in. If the build directory is out of the source directory, the version.h is generated in build directory and the original version.h in source directory is not overwritten. However, the latter is used during the build, resulting in a missing runtime version:

$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

Remove version.h from source directory to ensure that the version.h in build directory is used during the build.

The version.h should be generated from version.h.in. If the build
directory is out of the source directory, the version.h is generated in
build directory and the original version.h in source directory is not
overwritten. However, the latter is used during the build, resulting in
a missing runtime version:

$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

Remove version.h from source directory to ensure that the version.h in
build directory is used during the build.

Signed-off-by: Yi Zhao <[email protected]>
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