diff --git a/ChangeLog b/ChangeLog index 396109ffd..2eec771c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-03-14 Charles Iliya Krempeaux + + * sources/makefile : Added a "distclean" rule, so + that typing it will remove any source code directories, + and their contents. (This works by just deleting all + the subdirectories. Except for "CVS" of course.) + 2003-03-14 Charles Iliya Krempeaux * sample/Makefile.in : Modified it to make it so "make clean" diff --git a/sources/makefile b/sources/makefile index a2353a0da..a8bb99ae8 100644 --- a/sources/makefile +++ b/sources/makefile @@ -31,4 +31,11 @@ get-source-code: ln -f -s ../gdk/gdkpixbuf.h gtk+-2.0.5/gdk-pixbuf/gdkpixbuf.h ln -f -s ../gdk/gdkpixbuf-render.c gtk+-2.0.5/gdk-pixbuf/gdkpixbuf-render.c - +distclean: + for i in `ls`; do \ + if test -d $$i; then \ + if test 'CVS' != $$i; then \ + rm -Rf $$i; \ + fi; \ + fi; \ + done;