build: use simpler cleanup target

This commit is contained in:
mappu 2017-10-29 13:29:12 +13:00
parent 5cc93387e7
commit 9687f90cf5

View File

@ -25,9 +25,9 @@ dist: \
_dist/yatwiki-$(VERSION)-src.zip
clean:
if [ -f ./staticResources.go ] ; then rm ./staticResources.go ; fi
if [ -d ./build ] ; then rm -r ./build ; fi
if [ -f ./yatwiki ] ; then rm ./yatwiki ; fi
rm -f ./staticResources.go
rm -fr ./build
rm -f ./yatwiki
#
# Generated files