From 94f05965a89fb192e81f2e5964ffcd80e81e97aa Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Sat, 15 Mar 2003 19:09:53 +0000 Subject: [PATCH] 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.) svn path=/trunk/gtk-sharp/; revision=12546 --- ChangeLog | 7 +++++++ sources/makefile | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) 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;