public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Make dist
@ 2012-07-26 20:35 John Darrington
  2012-07-26 21:10 ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: John Darrington @ 2012-07-26 20:35 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

I'm trying to create a binutils tarball.

When I try the conventional "make dist" I get the message:

 Building a full distribution of this tree isn't done
 via 'make dist'.  Check out the etc/ subdirectory

So I look in the etc/ subdirectory but that just contains an (old)
copy of the GNU coding standards, which tells me (amongst other stuff)
that one should indeed use "make dist" to: "Create a distribution tar file for 
this program". ... which is what I already tried ...

So how _do_ I create the tarball?

J'


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Make dist
  2012-07-26 20:35 Make dist John Darrington
@ 2012-07-26 21:10 ` Andreas Schwab
  2012-07-26 22:13   ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2012-07-26 21:10 UTC (permalink / raw)
  To: John Darrington; +Cc: binutils

John Darrington <john@darrington.wattle.id.au> writes:

> So how _do_ I create the tarball?

See the src-release script in the toplevel dir.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Make dist
  2012-07-26 21:10 ` Andreas Schwab
@ 2012-07-26 22:13   ` Mike Frysinger
  2012-07-28 11:38     ` John Darrington
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2012-07-26 22:13 UTC (permalink / raw)
  To: binutils; +Cc: Andreas Schwab, John Darrington

[-- Attachment #1: Type: Text/Plain, Size: 969 bytes --]

On Thursday 26 July 2012 17:10:16 Andreas Schwab wrote:
> John Darrington <john@darrington.wattle.id.au> writes:
> > So how _do_ I create the tarball?
> 
> See the src-release script in the toplevel dir.

2012-07-26  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.tpl (dist): Mention the src-release file.
	* Makefile.in: Regenerated.

--- a/Makefile.in
+++ b/Makefile.in
@@ -2505,7 +2505,7 @@ dir.info: do-install-info
 
 dist:
 	@echo "Building a full distribution of this tree isn't done"
-	@echo "via 'make dist'.  Check out the etc/ subdirectory" 
+	@echo "via 'make dist'.  Check out the src-release file."
 
 etags tags: TAGS
 
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -950,7 +950,7 @@ dir.info: do-install-info
 
 dist:
 	@echo "Building a full distribution of this tree isn't done"
-	@echo "via 'make dist'.  Check out the etc/ subdirectory" 
+	@echo "via 'make dist'.  Check out the src-release file."
 
 etags tags: TAGS
 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Make dist
  2012-07-26 22:13   ` Mike Frysinger
@ 2012-07-28 11:38     ` John Darrington
  2012-07-28 14:39       ` Ian Lance Taylor
  0 siblings, 1 reply; 7+ messages in thread
From: John Darrington @ 2012-07-28 11:38 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: binutils, Andreas Schwab, John Darrington

[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]

Thanks for the pointer.

But how do I use the src-release file?  It seems to be a
makefile.  But from what directory should I run it?  and do I 
need to pass it arguments or what?

From the source directory I get:

~/binutils/src$ make -f src-release 
make: *** No rule to make target `list-of-support-files-for-tool-in-question', needed by `taz'.  Stop.

and from the build directory I get:

john@muse:/Scratch/john/binutils$ make -f ~/binutils/src/src-release 
make: *** No rule to make target `README', needed by `taz'.  Stop.


????


On Thu, Jul 26, 2012 at 06:13:36PM -0400, Mike Frysinger wrote:
     On Thursday 26 July 2012 17:10:16 Andreas Schwab wrote:
     > John Darrington <john@darrington.wattle.id.au> writes:
     > > So how _do_ I create the tarball?
     > 
     > See the src-release script in the toplevel dir.
     
     2012-07-26  Mike Frysinger  <vapier@gentoo.org>
     
     	* Makefile.tpl (dist): Mention the src-release file.
     	* Makefile.in: Regenerated.
     
     --- a/Makefile.in
     +++ b/Makefile.in
     @@ -2505,7 +2505,7 @@ dir.info: do-install-info
      
      dist:
      	@echo "Building a full distribution of this tree isn't done"
     -	@echo "via 'make dist'.  Check out the etc/ subdirectory" 
     +	@echo "via 'make dist'.  Check out the src-release file."
      
      etags tags: TAGS
      
     --- a/Makefile.tpl
     +++ b/Makefile.tpl
     @@ -950,7 +950,7 @@ dir.info: do-install-info
      
      dist:
      	@echo "Building a full distribution of this tree isn't done"
     -	@echo "via 'make dist'.  Check out the etc/ subdirectory" 
     +	@echo "via 'make dist'.  Check out the src-release file."
      
      etags tags: TAGS
      



-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Make dist
  2012-07-28 11:38     ` John Darrington
@ 2012-07-28 14:39       ` Ian Lance Taylor
  2012-07-28 18:57         ` John Darrington
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Lance Taylor @ 2012-07-28 14:39 UTC (permalink / raw)
  To: John Darrington; +Cc: Mike Frysinger, binutils, Andreas Schwab

On Sat, Jul 28, 2012 at 4:37 AM, John Darrington
<john@darrington.wattle.id.au> wrote:
> Thanks for the pointer.
>
> But how do I use the src-release file?  It seems to be a
> makefile.  But from what directory should I run it?  and do I
> need to pass it arguments or what?
>
> From the source directory I get:
>
> ~/binutils/src$ make -f src-release
> make: *** No rule to make target `list-of-support-files-for-tool-in-question', needed by `taz'.  Stop.
>
> and from the build directory I get:
>
> john@muse:/Scratch/john/binutils$ make -f ~/binutils/src/src-release
> make: *** No rule to make target `README', needed by `taz'.  Stop.
>
>
> ????

Run it in the build directory, but tell it which release you want to
build.  It's used for a few different tools.

make -f SRCDIR/src-release binutils.tar.bz2

Ian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Make dist
  2012-07-28 14:39       ` Ian Lance Taylor
@ 2012-07-28 18:57         ` John Darrington
  2012-07-29  0:10           ` Ian Lance Taylor
  0 siblings, 1 reply; 7+ messages in thread
From: John Darrington @ 2012-07-28 18:57 UTC (permalink / raw)
  To: Ian Lance Taylor
  Cc: John Darrington, Mike Frysinger, binutils, Andreas Schwab

[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]

On Sat, Jul 28, 2012 at 07:39:01AM -0700, Ian Lance Taylor wrote:
     On Sat, Jul 28, 2012 at 4:37 AM, John Darrington
     <john@darrington.wattle.id.au> wrote:
     > Thanks for the pointer.
     >
     > But how do I use the src-release file?  It seems to be a
     > makefile.  But from what directory should I run it?  and do I
     > need to pass it arguments or what?
     >
     > From the source directory I get:
     >
     > ~/binutils/src$ make -f src-release
     > make: *** No rule to make target `list-of-support-files-for-tool-in-question', needed by `taz'.  Stop.
     >
     > and from the build directory I get:
     >
     > john@muse:/Scratch/john/binutils$ make -f ~/binutils/src/src-release
     > make: *** No rule to make target `README', needed by `taz'.  Stop.
     >
     >
     > ????
     
     Run it in the build directory, but tell it which release you want to
     build.  It's used for a few different tools.
     
     make -f SRCDIR/src-release binutils.tar.bz2
     
When I do that I get the same result as before:

$ make -f /home/john/binutils/src/src-release binutils.tar.bz2
make: *** No rule to make target `README', needed by `binutils.tar.bz2'.  Stop.


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Make dist
  2012-07-28 18:57         ` John Darrington
@ 2012-07-29  0:10           ` Ian Lance Taylor
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Lance Taylor @ 2012-07-29  0:10 UTC (permalink / raw)
  To: John Darrington; +Cc: Mike Frysinger, binutils, Andreas Schwab

On Sat, Jul 28, 2012 at 11:56 AM, John Darrington
<john@darrington.wattle.id.au> wrote:
> On Sat, Jul 28, 2012 at 07:39:01AM -0700, Ian Lance Taylor wrote:
>      On Sat, Jul 28, 2012 at 4:37 AM, John Darrington
>      <john@darrington.wattle.id.au> wrote:
>      > Thanks for the pointer.
>      >
>      > But how do I use the src-release file?  It seems to be a
>      > makefile.  But from what directory should I run it?  and do I
>      > need to pass it arguments or what?
>      >
>      > From the source directory I get:
>      >
>      > ~/binutils/src$ make -f src-release
>      > make: *** No rule to make target `list-of-support-files-for-tool-in-question', needed by `taz'.  Stop.
>      >
>      > and from the build directory I get:
>      >
>      > john@muse:/Scratch/john/binutils$ make -f ~/binutils/src/src-release
>      > make: *** No rule to make target `README', needed by `taz'.  Stop.
>      >
>      >
>      > ????
>
>      Run it in the build directory, but tell it which release you want to
>      build.  It's used for a few different tools.
>
>      make -f SRCDIR/src-release binutils.tar.bz2
>
> When I do that I get the same result as before:
>
> $ make -f /home/john/binutils/src/src-release binutils.tar.bz2
> make: *** No rule to make target `README', needed by `binutils.tar.bz2'.  Stop.

Darn, you're right.  Looks like it is meant to be run in the source
directory.  Sorry about that.  You do still need to say what release
you want to build.

Ian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-29  0:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-26 20:35 Make dist John Darrington
2012-07-26 21:10 ` Andreas Schwab
2012-07-26 22:13   ` Mike Frysinger
2012-07-28 11:38     ` John Darrington
2012-07-28 14:39       ` Ian Lance Taylor
2012-07-28 18:57         ` John Darrington
2012-07-29  0:10           ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).