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

makefile warn undefined variables #726

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

Conversation

simonLeary42
Copy link
Contributor

@simonLeary42 simonLeary42 commented Oct 1, 2024

I just enabled these warnings for my debian rules file while building Lmod, and I saw some warnings come out from Lmod's own makefile. It seems like a harmless addition, unless it breaks compatibility with old versions of make. I'm also not sure this is the right place to put it.

@simonLeary42
Copy link
Contributor Author

$ make install 2>&1 | pcregrep -o1 "undefined variable '(.*)'" | sort | uniq -c
      2 CFLAGS
    275 DESTDIR
     15 GIT_BRANCH
      1 GIT_VERSION
     37 LUA_CPATH
     37 LUA_PATH
     15 path_to_src
     15 PATH_TO_SRC
     15 PKG_LFS
     30 TAG

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