[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg-source and ignore everything outside of debian/



Hi.

I'm trying to generate a diff.gz in which only the debian/ directory is 
included. My package contains some patches for Makefile.am in debian/patches, 
but when the source is cleaned, the patches unapplied, and the Makefile.in 
are regenerated, there are differences between the original ones, and the 
regenerated, because they come from different automake versions.

The only workaround I found, is unpack the orig.tar.gz, copy the debian/ 
directory to the tree (which I have stored under version control), and _then_ 
and only then, generate the source package with -i, which already skips the 
".svn" dirs, etc.

I'm trying to add a regular expression to the "-i" option to skip anything 
outside the debian directory, but I can't find the right one. :(

Any suggestion is very welcome. Thanks in advance.

-- 
Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2
http://darkshines.net/ - Jabber ID: suy@bulmalug.net



Reply to: