]> err.no Git - dpkg/commit
Avoid creating empty DEBIAN/symbols files during build.
authorRaphael Hertzog <hertzog@debian.org>
Fri, 3 Aug 2007 14:57:49 +0000 (16:57 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Fri, 3 Aug 2007 14:57:49 +0000 (16:57 +0200)
commita0880440c9b169ced9a4fc9af84d44fe0ad94876
tree63e70a2b11ce9262e7c9a970fee5fd7f043e8fee
parent0a44fac4b6c1678949d967edb4dfbecf9775159f
Avoid creating empty DEBIAN/symbols files during build.

Once invoked, dpkg-gensymbols used to always write out a file
even if the scan didn't find any symbol information. Now, unless
the output file has been manually specified, it won't do so
anymore. With this change, it's now possible to always add
a dpkg-gensymbols call in debian/rules and it will really be a
no-op if the package doesn't contain a library.
scripts/Dpkg/Shlibs/SymbolFile.pm
scripts/dpkg-gensymbols.pl