Eliminated a possible error that could wipe out the directory when make clean is invoked, if the build directory doesn't exist.

This commit is contained in:
Harry Moffat 2009-09-26 02:13:34 +00:00
parent c0e84560a1
commit 3f630e56a6

View file

@ -91,7 +91,7 @@ endif
clean:
@PYTHON_CMD@ setup.py clean
rm -f _build; rm -f _winbuild
(cd build; rm -fR *)
(if test -d build ; then cd build; rm -fR * ; fi)
cd src; rm -f *.o
depends: