Added make install and uninstall

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@123 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2009-04-06 17:04:18 +07:00
parent 39a27aef71
commit a2b9c11697
2 changed files with 16 additions and 1 deletions

@ -69,3 +69,4 @@
- In optimizer, added a function that tokenizes an expression - In optimizer, added a function that tokenizes an expression
- Document about complexity of operations - 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. - 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

@ -1,6 +1,20 @@
default: default:
echo "sorry, no default action" 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 source: clean
rm -rf /tmp/relational/ rm -rf /tmp/relational/
mkdir /tmp/relational/ mkdir /tmp/relational/