# HG changeset patch # User Nicolas Saunier # Date 1405447143 14400 # Node ID 5b534ad95bfb9a560d7ab69409400d72af198e1b # Parent 806df5f61c03255aec44c6e9e2d4be9919ac3dab added uninstall option in Makefile diff -r 806df5f61c03 -r 5b534ad95bfb Makefile --- a/Makefile Tue Jul 15 01:25:33 2014 -0400 +++ b/Makefile Tue Jul 15 13:59:03 2014 -0400 @@ -11,8 +11,15 @@ install: cexe @echo "=========================================" + @echo "Installing for Linux" + @echo "=========================================" @echo "Copying feature-based tracking executable" @cp bin/feature-based-tracking /usr/local/bin @echo "=========================================" @echo "Copying Python scripts" - @cp scripts/* /usr/local/bin \ No newline at end of file + @cp scripts/* /usr/local/bin + +uninstall: + @echo "Uninstalling for Linux" + rm /usr/local/bin/feature-based-tracking + @cd scripts && ./uninstall-scripts.sh \ No newline at end of file diff -r 806df5f61c03 -r 5b534ad95bfb scripts/uninstall-scripts.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/uninstall-scripts.sh Tue Jul 15 13:59:03 2014 -0400 @@ -0,0 +1,7 @@ +#!/bin/sh +installDirname='/usr/local/bin' +for filename in * +do + echo 'rm '$installDirname/$filename + rm $installDirname/$filename +done \ No newline at end of file