Design #1125
Separate install script for CoCoALib?
Description
The install
target in the top Makefile
for CoCoALib is about 70 lines long.
It would probably be better to make a separate script to do the installation.
Investigate and decide!
Related issues
History
#1 Updated by John Abbott over 6 years ago
A crucial aspect is passing to the script all the values it will need (including a path which might contain awkward chars).
If all goes well, it should take only 1-2 hours to make the script and test it (with some nasty inputs too).
#2 Updated by John Abbott almost 6 years ago
- Related to Feature #1005: Makefile: install target for CoCoALib added
#3 Updated by John Abbott over 5 years ago
- Target version changed from CoCoALib-0.99600 to CoCoALib-0.99650 November 2019
#4 Updated by John Abbott over 4 years ago
- Target version changed from CoCoALib-0.99650 November 2019 to CoCoALib-0.99700
#5 Updated by John Abbott over 4 years ago
- Target version changed from CoCoALib-0.99700 to CoCoALib-0.99800
#6 Updated by John Abbott over 3 years ago
- Target version changed from CoCoALib-0.99800 to CoCoALib-0.99850
Ideally the installation process should also make available an easy way to uninstall the installed stuff.
We also need a good definition of "uninstall": e.g. currently installation includes making some symbolic links, say from libcocoa.a
to libcocoa-0.99720.a
.
What happens to the symbolic links if we uninstall? The links may have been pointing somewhere else (e.g. older version) prior to installation...
Presumably uninstallation should remove all newly added files and dirs... ideally everything should be in a single dir (or perhaps two?)
#7 Updated by John Abbott 3 months ago
- Target version changed from CoCoALib-0.99850 to CoCoALib-0.99880