From 261abb8e24a7b1ebda28fdc4f95f5f1e5cd67261 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Tue, 29 Mar 2011 10:46:36 -0700 Subject: [PATCH] add a 'superclean' section wipes out everything that is not needed. Used to create the tgz archives. Change-Id: Icbb00edb0e3a77abd0de6135c39a11d6973f9cd3 --- makefile.unix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/makefile.unix b/makefile.unix index c342b816..b3e976c0 100644 --- a/makefile.unix +++ b/makefile.unix @@ -73,3 +73,16 @@ clean: src/enc/*.o src/enc/*~ \ src/dec/*.o src/dec/*~ \ examples/*.o examples/*~ + +superclean: clean + rm -rf .git *.log *.cache *~ + rm -rf .deps */.deps */*/.deps + rm -rf .libs */.libs */*/.libs + rm -f */*.lo */*/*.lo + rm -f */*.la */*/*.la + rm -f Makefile */Makefile */*/Makefile + rm -f Makefile.in */Makefile.in */*/Makefile.in + rm -f config.log autom4te.cache libtool config.h stamp-h1 + rm -f aclocal.m4 compile config.guess config.h.in config.sub config.status + rm -f configure depcomp install-sh ltmain.sh missing src/libwebp.pc + rm -f m4/*