-
Notifications
You must be signed in to change notification settings - Fork 59
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
adds install target #20
Conversation
Thank you! I'll test this out - I've been meaning to make a nice clean installation target. I'm torn whether to keep the simple Makefile or to switch to autotools. |
I was a bit unsure regarding the prefix handling in terms of autobuild system myself Just checked and it writes temp file to the shared directory seeing in the installed temp folder it seems it originally meant to be run on a centralized server based on the setup123 manpage provided with the floppies- installed on /lotus and users will ssh into it(presumably with full access to the lotus folder) I dont have access to the full manual but the configs in these lines might be of interest
Today it is rather unfriendly I would guess Ill add installation of the manpage for the main executable. |
Thanks, I've fixed how it finds the runtime files, now it should look where the binary is - I think that means the wrapper script isn't needed anymore. I think I also need to make a default 123cnf, because that configures where |
I haven't forgotten about this PR, but I'm still changing how the paths work so I'm worried about merging it and then needing to break old installations later! |
That ok, best thing i hoped it would be pushimg forawrd some idea on what
the state of systemwide install compared to today
Also pathing is really hard to nail and i guess env mangement in the 90s
was a lot less considerate in terms of internal tooling so completly
understsndable :)
btw what is the source you use for documentation of how the env conf and
license parameters are handled?
…On Fri, 27 May 2022, 17:16 Tavis Ormandy, ***@***.***> wrote:
I haven't forgotten about this PR, but I'm still changing how the paths
work so I'm worried about merging it and then needing to break old
installations later!
—
Reply to this email directly, view it on GitHub
<#20 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ5PCBWAPFJTUC6EAPVB2DVMDKLZANCNFSM5WW7MRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Makefile
Outdated
prefix ?= / | ||
bindir = ${prefix}usr/local/bin | ||
sharedir = ${prefix}usr/local/share/lotus | ||
profiledir = ${prefix}etc/profile.d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd really appreciate if you set prefix to /usr/local
and set bindir and sharedir to ${prefix}/bin
and ${prefix}/share
That way package maintainers can make prefix=$packageroot/usr/ install
or similar
(edited for markdown formatting)
I wasnt sure about this part , will the changes done be easy to
use?(DESTDIR + prefix)
Ill check integration later on t2sde auto build system as well if it being
handled
…On Mon, 30 May 2022, 07:20 audunmg, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In Makefile
<#20 (comment)>:
> +prefix ?= /
+bindir = ${prefix}usr/local/bin
+sharedir = ${prefix}usr/local/share/lotus
+profiledir = ${prefix}etc/profile.d
I'd really appreciate if you set prefix to /usr/local and set bindir and
sharedir to ${prefix}/bin and ${prefix}/share
That way package maintainers can make prefix=$packageroot/usr/ install or
similar
—
Reply to this email directly, view it on GitHub
<#20 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ5PCBME2PQJOUF3KMLQ2LVMQ6XJANCNFSM5WW7MRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The architecture-specific I did some exploratory coding in #68 to make the Another approach often used in such situations is to install runtime data, binary and default config file under Also, we should try to avoid individual users having to modify their environment in order to run the program (and we have enough control to be able to avoid it). |
Thank you for the PR, we ended up merging this as part of #72 |
adds install target to be system wide
Limitation observed: