diff options
author | Camil Staps | 2018-10-30 09:12:56 +0100 |
---|---|---|
committer | Camil Staps | 2018-10-30 09:12:56 +0100 |
commit | b7c745f0bf9a5b081123f700c2a0d3645930f5a1 (patch) | |
tree | 7e1098968a8488b7eb5a5afbffedacbb35a2e56b /clean/bin | |
parent | Move Clean completion to separate repository (diff) |
install_clean: improved linking of completion scripts; local versions of cpm, cocl and cleanprof2callgrind
Diffstat (limited to 'clean/bin')
-rwxr-xr-x | clean/bin/install_clean | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/clean/bin/install_clean b/clean/bin/install_clean index cc19da6..8c66097 100755 --- a/clean/bin/install_clean +++ b/clean/bin/install_clean @@ -25,11 +25,21 @@ cloogletags -a -c -d /opt/clean/lib -o /opt/clean/lib/tags # completion mkdir -p /opt/clean/etc/completion -ln -s /home/camil/VersionControl/clean-completion/clm /opt/clean/etc/completion -ln -s /home/camil/VersionControl/clean-completion/cpm /opt/clean/etc/completion +for f in ~/VersionControl/clean-completion/*; do + [ -f "$f" ] || continue + base="$(basename "$f")" + if [[ "$base" == "Makefile" ]] || [[ "$base" == "README.md" ]] || [[ "$base" =~ .tar.gz$ ]]; then + continue + fi + ln -s "$(ls -1 "$f")" /opt/clean/etc/completion/$base +done # clm rm /opt/clean/bin/clm; ln -s /home/camil/VersionControl/clean-tools-git/clm/clm /opt/clean/bin/clm +# cpm +rm /opt/clean/bin/cpm; ln -s /home/camil/VersionControl/clean-ide/cpm/cpm /opt/clean/bin/cpm +# cocl +rm /opt/clean/exe/cocl; ln -s /home/camil/VersionControl/clean-compiler/cocl /opt/clean/exe/cocl # clean-test rm /opt/clean/bin/cleantest; ln -s /home/camil/VersionControl/clean-test/cleantest /opt/clean/bin/cleantest # clean-test-properties @@ -38,6 +48,8 @@ ln -s /home/camil/VersionControl/clean-test-properties/src/testproperties /opt/c mkdir /opt/clean/data ln -s /home/camil/VersionControl/clean-doc/data/cleandoc-default /opt/clean/data/cleandoc-default ln -s /home/camil/VersionControl/clean-doc/src/cleandoc /opt/clean/bin/cleandoc +# cleanprof2callgrind +ln -s /home/camil/VersionControl/cleanprof2callgrind/cleanprof2callgrind /opt/clean/bin/cleanprof2callgrind # abc-interpreter ln -s /home/camil/VersionControl/abc-interpreter/src/optimise /opt/clean/exe/optimise ln -s /home/camil/VersionControl/abc-interpreter/src/bcgen /opt/clean/exe/bcgen |