[Gtk-sharp-list] [Patch] sources/makefile

Charles Iliya Krempeaux charles@reptile.ca
14 Mar 2003 14:14:21 -0800


--=-heAjI1loL8ObHjXRVcWQ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

Can I commit this.

It adds a "distclean" rule to the makefile for the "sources/" directory.
(For "make distclean", it just goes an deletes every directory, except
the "CVS" directory.)


See ya

-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/

--=-heAjI1loL8ObHjXRVcWQ
Content-Disposition: attachment; filename=gtk-sharp-SourcesMakeDistClean.diff
Content-Type: text/x-patch; name=gtk-sharp-SourcesMakeDistClean.diff; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Index: ChangeLog
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.354
diff -u -r1.354 ChangeLog
--- ChangeLog	14 Mar 2003 11:45:18 -0000	1.354
+++ ChangeLog	14 Mar 2003 22:10:01 -0000
@@ -1,3 +1,10 @@
+2003-03-14  Charles Iliya Krempeaux  <charles@reptile.ca>
+
+	* 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  Rodrigo Moya <rodrigo@ximian.com>
=20
 	* configure.in:
Index: sources/makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/public/gtk-sharp/sources/makefile,v
retrieving revision 1.4
diff -u -r1.4 makefile
--- sources/makefile	14 Mar 2003 11:45:19 -0000	1.4
+++ sources/makefile	14 Mar 2003 22:10:03 -0000
@@ -31,4 +31,11 @@
 	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-rend=
er.c
 =20
-=20
+distclean:
+	for i in `ls`; do                     \
+	    if test -d $$i; then              \
+	        if test 'CVS' !=3D $$i; then    \
+	            rm -Rf $$i;               \
+	        fi;                           \
+	    fi;                               \
+	done;

--=-heAjI1loL8ObHjXRVcWQ--