Commits

Anonymous committed d3f77ab

Add an uninstall rule (when ./configure adds an install one)

  • Participants
  • Parent commits 101f3f1

Comments (0)

Files changed (1)

 BIN_DIR="."
 
 if [ "$1" == "--bin-dir" ]; then
-    BIN_DIR="$2""/"
+    BIN_DIR="$2"
 fi
 
 cp Makefile.in Makefile
 if [ "$BIN_DIR" != "." ]; then
     echo -e "
 install: stone
-\tcp stone $BIN_DIR
+\tcp stone $BIN_DIR/
+
+uninstall:
+\trm -f $BIN_DIR/stone
 " >> Makefile
 fi