Thanks! uploaded to Debian (and neurodebian, although just wheezy/sid)
> $ UNWANTED_FILES="Makefile.in src/Makefile.in src/*/Makefile.in m4/* > aclocal.m4 config.sub ltmain.sh depcomp install-sh autogen.sh configure > gentoo/*" && ~/bin/mkdeb > (the mkdeb script repackages the cleaned tree as .orig.bz2 and > eventually runs debuild -D). well -- you might like eventually to converge on more native way to handle debian packaging ;) also helper tools like git-buildpackage build source/binary packages from a clean checkout from the repository thus guaranteeing that no unneeded pre-generated junk would get there or do you keep all those in your VCS? you might like to adjust debian/rules' clean target to remove them upon clean, and then make your mkdeb run debian/rules clean before generating any source package -- that would guarantee that they get cleaned up consistently On Sun, 08 Apr 2012, andrei zavada wrote: > > neurodebian@head2:~/deb/builds/aghermann/0.5.90-1$ debdiff > > try1/aghermann_0.5.90-1.dsc aghermann_0.5.90-1.dsc | diffstat > > dpkg-source: warning: extracting unsigned source package > > (/backup/neurodebian/deb/builds/aghermann/0.5.90-1/try1/aghermann_0.5.90-1.dsc) > > ChangeLog | 8 > > Makefile.in | 919 + > > ... > I see crap here! That same crap which you wanted removed a while ago. > This is routinely done by a script which does the removal reading the > list of unwanted files from, erm, an env variable UNWANTED_FILES, like > so: > $ UNWANTED_FILES="Makefile.in src/Makefile.in src/*/Makefile.in m4/* > aclocal.m4 config.sub ltmain.sh depcomp install-sh autogen.sh configure > gentoo/*" && ~/bin/mkdeb > (the mkdeb script repackages the cleaned tree as .orig.bz2 and > eventually runs debuild -D). > What's missing here is "export" before UNWANTED_FILES, in which case all > the un-removed crap ends up in the .deb file, but the build merrily > succeeds notwithstanding. How "export" disappeared from the bash > history I reused this last time, is another long story... -- =------------------------------------------------------------------= Keep in touch www.onerussian.com Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

