-
Notifications
You must be signed in to change notification settings - Fork 15
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
Compiling the package manual may require the package to be loaded (and hence the package compiled) #74
Comments
Some remarks:
Personally I think it'd be best if 1./2. were done in Semigroups and other "affected" packages, and 5 in |
Thanks @fingolfin I didn't know that |
Something like |
Thanks for your remarks @fingolfin. I've made issues to Semigroups (semigroups/Semigroups#745) and to this repo (#76) that correspond to the solution you identified. |
This issue is possibly not the problem of
ReleaseTools
, but I'll raise it anyway.For some packages (like Semigroups, guava...), the
makedoc.g
file contains the lineGAPDocManualLab(<pkg_name>)
, which loads the package. (GAPDocManualLab
is a GAP library function).For some packages (like Semigroups), the package must be compiled for it to load. Therefore, running
makedoc.g
in the release script will either fail, or the package must have already been compiled - but this means that we'll be including unwanted files in the released package archive.I see several ways to deal with this:
GAPDocManualLab
inmakedoc.g
.GAPDocManualLab
could be modified to not need to load the package..release
script, and then runmake distclean
, and delete themakedoc.g
file so that the release script doesn't attempt to build the documentation again (which would fail).release-gap-package
could runautogen.sh
after building the documentation, and then between building the documentation and runningautogen.sh
, the script could attempt to runmake distclean
. Therefore we would just need to make sure the package is properly built in.release
, and thenrelease-gap-package
would uncompile it for us after the documentation is built viamake distclean
.release-gap-package
could even offer the option of building the package, for this purpose.I would be interested to hear anyone's opinion/advice on this matter.
The text was updated successfully, but these errors were encountered: