Bug 3977

Summary: tarball contains generated test-core
Product: frysk Reporter: Stepan Kasal <skasal>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2235    

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.