diff --git a/CHANGELOG b/CHANGELOG index 17f37ce..6e4a9aa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -68,4 +68,5 @@ 0.10 - In optimizer, added a function that tokenizes an expression - Document about complexity of operations -- Bug: error in update operation, it changed the original tuple, so also other relations using the same tuple would change. Now it copies it. \ No newline at end of file +- Bug: error in update operation, it changed the original tuple, so also other relations using the same tuple would change. Now it copies it. +- Added make install and uninstall \ No newline at end of file diff --git a/Makefile b/Makefile index 0709f67..c946934 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,20 @@ default: echo "sorry, no default action" +uninstall: + rm -rf /opt/relational + rm -f /usr/local/bin/relational + +install: + mkdir /opt/relational + cp -R relational relational_gui /opt/relational/ + cp relational_gui.py /opt/relational + chmod -R 555 /opt/relational/ + echo "#!/bin/bash" > /usr/local/bin/relational + echo "/opt/relational/relational_gui.py" >> /usr/local/bin/relational + chmod 555 /usr/local/bin/relational + + source: clean rm -rf /tmp/relational/ mkdir /tmp/relational/