[Gtk-sharp-list] [Patch] Makefile.in - Release Package Targets

Charles Iliya Krempeaux charles@reptile.ca
28 Apr 2003 17:26:01 -0700


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

Hello,

This patch makes it so you can do a...

    make release-tarball

or a...

    make release-bz2ball

This will package up things for you, making a...

    gtk-sharp.X.X.tar.gz

and a...

    gtk-sharp.X.X.tar.bz2

respectively.

Just a little convenience target.

(I'd like to get things like "make-rpm-mandrake",
"make-rpm-redhat", "make-deb-debian", etc, too.  But
that can come later.)

The Patch is attached.


Is it OK to commit this?


See ya

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

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

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

Index: .cvsignore
=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/.cvsignore,v
retrieving revision 1.2
diff -u -r1.2 .cvsignore
--- .cvsignore	25 Apr 2002 09:17:53 -0000	1.2
+++ .cvsignore	29 Apr 2003 01:26:07 -0000
@@ -7,4 +7,6 @@
 ltmain.sh
 stamp*
 configure
+gtk-sharp-*.tar.gz
+gtk-sharp-*.tar.bz2
=20
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.386
diff -u -r1.386 ChangeLog
--- ChangeLog	28 Apr 2003 21:23:25 -0000	1.386
+++ ChangeLog	29 Apr 2003 01:26:10 -0000
@@ -1,3 +1,12 @@
+2003-04-28  Charles Iliya Krempeaux  <charles@reptile.ca>
+
+	* Makefile.in : Made new "release" targets to
+	  create releases tarballs and release
+	  bz2balls.  (Used with "make release-tarball"
+	  and "make release-bz2ball".)
+	* .cvsignore : Made it so it will ignore these
+	  release packages.
+
 2003-04-28  Lee Mallabone <gnome@fonicmonkey.net>
=20
 	* api/gtk-api.xml, sources/Gtk.metadata: Add a rule to
Index: Makefile.in
=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/Makefile.in,v
retrieving revision 1.1
diff -u -r1.1 Makefile.in
--- Makefile.in	21 Apr 2003 15:25:26 -0000	1.1
+++ Makefile.in	29 Apr 2003 01:26:10 -0000
@@ -64,3 +64,12 @@
 install-pkgconfig:
 	./mkinstalldirs   $(DESTDIR)@prefix@/lib/pkgconfig
 	cp gtk-sharp.pc $(DESTDIR)@prefix@/lib/pkgconfig
+
+
+
+release-tarball: distclean
+	tar -zcvf gtk-sharp-@VERSION@.tar.gz  * --exclude gtk-sharp-@VERSION@.tar=
.gz --exclude gtk-sharp-@VERSION@.tar.bz2
+
+release-bz2ball: distclean
+	tar -jcvf gtk-sharp-@VERSION@.tar.bz2 * --exclude gtk-sharp-@VERSION@.tar=
.gz --exclude gtk-sharp-@VERSION@.tar.bz2
+

--=-c7NMKN484UqPEiHB198O--