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 version.h in repository, remove from .gitignore #463

Merged

Conversation

ftasnetamot
Copy link
Contributor

@ftasnetamot ftasnetamot commented Jul 29, 2024

Many code checking editors, marking the common.h as erroneous, as version.h is missing.
This can lead to confusion. Change in Makefile.in

  • with fake empty dependency ensures, that version.h is recreated at every "make"
  • another change, makes sure, that make clean generates a stub of version.h with no content

version.h removed from .gitignore

With this change the code will look pretty and without any error, after fresh clone and after each make clean.
It was really driving my nuts, why my editor marked the code sometimes as buggy and sometimes not.

Many code checking editors, marking the common.h as erroneous, as
version.h is missing. This can lead to confusion.
Change in Makefile.in with fake empty dependency ensures, that version.h
is recreated at every "make"
Another change in make clean, makes sure, that at this point a stub
version.h is generated.

version.h removed from .gitignore
@yrutschle yrutschle merged commit acdbb79 into yrutschle:master Aug 15, 2024
1 check passed
@ftasnetamot ftasnetamot deleted the 2024-07-29--include-version.h branch August 16, 2024 09:45
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