Re: [Tuxpaint-devel] Tux Paint 0.9.15 release plans
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Ben A. <sy...@sa...> - 2005-09-08 12:49:54
|
On Wed, 2005-09-07 at 20:31 -0400, Albert Cahalan wrote: > > PS to Ben - remind me, what's the trick to make a tarball and > NOT include > the CVS and .cvsignore files? ;) > > For procps, I use variables to explicitly list the files. I build the > tarball before doing my final testing, so I can test what I hope > to release as the final tarball. Makefile code: Alternatively, you could use an exclusive approach rather than inclusive using find and -prune. Something like: find . \( -wholename '*/CVS' -o -name .cvsignore \) -prune -o -print Assuming 'make clean' has run before this, and your clean target is comprehensive, this will produce a list of only non-junk files to include in the tarball. Of course, this doesn't protect against accidentally including "my_shopping_list.txt" in the tarball. But then again, it doesn't require you keep TARFILES up-to-date. Choose whichever method you think is less likely to cause you grief maintaining. Ben |