Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added tests that the files/directories being deleted by the uninstall

target are in fact the correct types (i.e. a file or a directory)
  • Loading branch information...
commit 8846aa78b8d1620066b2fd97096144874b9c3a00 1 parent e5cb5df
Matt Sullivan mjohnsullivan authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
6 Makefile
View
@@ -227,9 +227,9 @@ install: all
cp src/*.h ${INCDIR}/
uninstall:
- rm -f ${BINDIR}/luvit
- rm -rf ${LIBDIR}
- rm -rf ${INCDIR}
+ test -f ${BINDIR}/luvit && rm -f ${BINDIR}/luvit
+ test -d ${LIBDIR} && rm -rf ${LIBDIR}
+ test -d ${INCDIR} && rm -rf ${INCDIR}
bundle: bundle/luvit
Please sign in to comment.
Something went wrong with that request. Please try again.