MakefileWhen I tried to run "make clean" on the snakelet path /var/local/Snakelets-1.44 on Ubuntu 7.10 server, an error occurred. Changing some opitons corrected the problem. Here's a "clean" part of Makefile I use now:
clean:
@echo "Removing stray logfiles, .pyo/.pyc files..."
find . -name \*.pyo -type f -print0 | xargs -0 /bin/rm -f
find . -name \*.pyc -type f -print0 | xargs -0 /bin/rm -f
find . -name \*.swp -type f -print0 | xargs -0 /bin/rm -f
find . -name \*~ -type f -print0 | xargs -0 /bin/rm -f
find . -name \*_log -type f -print0 | xargs -0 /bin/rm -f
find . -name \*.log -type f -print0 | xargs -0 /bin/rm -f
find . -name \*.log.? -type -print0 | xargs -0 /bin/rm -f
find . -name \*.log.?? -type f -print0 | xargs -0 /bin/rm -f
@echo "Removing non-CVS files..."
rm -fv MANIFEST
rm -rf build
rm -rf logs/server.pid
find . -name .#\* -type f -print0 | xargs -0 /bin/rm -f
@echo "clean!" • Wrote Teru at 10:53
| read 590× | Add comment