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

optimize: add Installation section in README.markdown, add warning message under the install target #450

Closed
wants to merge 10 commits into from

Conversation

lynch1981
Copy link
Contributor

@lynch1981 lynch1981 commented Dec 18, 2023

fix #449
I hereby granted the copyright of the changes in this pull request
to the authors of this lua-resty-core project.

@lynch1981 lynch1981 changed the title uncomment LUA_VERSION in Makefile #449 optimize: uncomment LUA_VERSION in Makefile #449 Dec 18, 2023
@lynch1981 lynch1981 changed the title optimize: uncomment LUA_VERSION in Makefile #449 optimize: uncomment LUA_VERSION in Makefile Dec 18, 2023
@lynch1981 lynch1981 changed the title optimize: uncomment LUA_VERSION in Makefile optimize: Uncomment LUA_VERSION and set LUA_LIB_DIR to /usr/local/share/ Dec 20, 2023
zhuizhuhaomeng
zhuizhuhaomeng previously approved these changes Jan 22, 2024
@zhuizhuhaomeng
Copy link
Contributor

This is not a good idea.
It breaks the backward compatibility.
We should change the installation command in the readme.

@lynch1981
Copy link
Contributor Author

lynch1981 commented Jan 22, 2024

This is not a good idea. It breaks the backward compatibility. We should change the installation command in the readme.

got it

@lynch1981 lynch1981 changed the title optimize: Uncomment LUA_VERSION and set LUA_LIB_DIR to /usr/local/share/ optimize: add Installation section in README.markdown Jan 22, 2024
@lynch1981
Copy link
Contributor Author

The Installation part is missing in README.markdown, please review the section I added @zhuizhuhaomeng

Makefile Outdated
PREFIX ?= /usr/local
LUA_INCLUDE_DIR ?= $(PREFIX)/include
LUA_LIB_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION)
LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep the original LUA_LIB_DIR and comment out the LUA_VERSION.
Instead we add an echo warning message under the install target.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea

@lynch1981 lynch1981 changed the title optimize: add Installation section in README.markdown optimize: add Installation section in README.markdown, add warning message under the install target Jan 22, 2024
@lynch1981
Copy link
Contributor Author

Thanks to @zhuizhuhaomeng for the detailed description of the installation chapter

@lynch1981 lynch1981 closed this Jan 23, 2024
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.

why the lua version number is commented out in Makefile
2 participants