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

Fixes for installing and building from the master branch #22

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

keithbare2
Copy link

When I was preparing a build with my changes in pull request #20 I observed (and then promptly forgot) that there were a few issues running make install. I was reminded of the problems early this year, as I was working to get various email-related things in better shape given the Google sender requirements going into effect.

The main problems were:

  1. Shell scripts weren't being "built"
  2. Paths in MAN were not reflecting the source's reorganization into subdirectories

I also fixed a couple other things that weren't quite right:

  1. Cat page for ezmlm-dispatch wasn't installed
  2. EZPATH and QMPATH variables weren't being added to shell scripts that needed them

And because I wanted it (and it's generally useful for packaging purposes), I added support for specifying a DESTDIR variable that can be used to override the install root.

Scripts that need to be built can now specify a list of fragments to be
included in addition to warn-auto.sh by listing the desired fragments in the
associated =s file.

Configuration files can be built into scripts assigning the configuration
value to a shell variable, via build/auto-sh-str.sh. This is very similar to
they way build/auto-str generates assignments of configuration values to C
variables. Thus the build can generate lib/auto_bin.sh setting EZPATH based
on conf-bin and lib/auto_qmail.sh setting QMPATH based on conf-qmail.

By combining the two functions above, the build can now properly add a line
setting EZPATH in ezmlm-accept, ezmlm-check, and ezmlm-glconf. It can also
add a line setting QMPATH in ezmlm-check.
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