dpkg-gensymbols -p<package> -Pdebian/<package> So, dpkg-gensymbols looks for the symbols file itself? It sound like you may have copied the method debhelper uses to search for a file in debian/ in dpkg-gensybols. Problem with that of course is that it may change.
For example, I just yesterday added --ignore to debhelper, which can ignore specific debian/ files. This can be useful in cases like where upstream has a debian/ directory with files you don't want debhelper to use. Can the specific symbols file to use be passed to dpkg-gensybols as an option? Then debhelper could just search the file out and explicitly tell it what to use, and I wouldn't have to worry about keeping these things in sync. I'm not sure whether calling it in dh_makeshlibs, or adding a new command is better. Leaning toward not adding a new command, but I don't want to make dh_makeshlibs too complex. I'll play around with it once it's in unstable and see what I think then. -- see shy jo
signature.asc
Description: Digital signature

