Bug 3977 - tarball contains generated test-core
Summary: tarball contains generated test-core
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2235
  Show dependency treegraph
 
Reported: 2007-02-06 14:30 UTC by Stepan Kasal
Modified: 2007-02-06 17:22 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Kasal 2007-02-06 14:30:43 UTC
The source tree contains two *.bz2.uu files (helloworld.o.bz2.uu, test-core.bz2.uu).
The generated tarball contains not only these files, but also the corresponding
generated ones (helloworld.o, test-core).

This can be fixed in Makefile.gen.sh.  (If it is planned to have more *.bz2.uu
files in the source tree.)

Alternatively, these two files could be handled in frysk-imports/Makefile.am, if
this is a special case and not a general pattern.

I do not know which of these two is better, help welcome.
Comment 1 Andrew Cagney 2007-02-06 15:40:51 UTC
The logic in Makefile.gen.sh was handling this with:

-> listing all data source files in EXTRA_DIST
-> list the data files to install in blah_DATA

sounds like it was changed.

Comment 2 Stepan Kasal 2007-02-06 17:22:50 UTC
(In reply to comment #1)
> -> listing all data source files in EXTRA_DIST
> -> list the data files to install in blah_DATA
> 
> sounds like it was changed.

Indeed; I prefer the compact dist_blah_DATA in most cases.

I fixed Makefile.gen.sh so that for generated data files, nodist_blah_DATA is
used instead.