diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-10-28 23:39:36 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-10-28 23:39:36 +0400 |
commit | 4d295b26ee2406c88c07c0a40e1552f969a88a7d (patch) | |
tree | bf13d40350e0118d3bb11c7721a593210499b867 | |
parent | 2b6b17c646c7dd75bb46b228e5290b9f4de92d88 (diff) | |
download | dh-illumos-4d295b26ee2406c88c07c0a40e1552f969a88a7d.tar.gz |
Extract usr/src/lib/Makefile* if any library is being extracted and -B option is given
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | dh_illumos_gate | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 5032678..69ab2dd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ dh-illumos (9.4) UNRELEASED; urgency=low * Append $($(MACH)_AS_XARCH) to $(COMPILE.s) to make sure macros like __amd64 are undefined for pure assembler too. + * Extract usr/src/lib/Makefile* if any library is + being extracted and -B option is given -- Igor Pashev <pashev.igor@gmail.com> Fri, 26 Oct 2012 01:09:24 +0400 diff --git a/dh_illumos_gate b/dh_illumos_gate index c750688..f92bce8 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -141,6 +141,9 @@ if (@ARGV) { 'usr/src/common/mapfiles', 'usr/src/tools/scripts/bldenv.sh', ); + if (grep {m|.*usr/src/lib/.*|} @ARGV) { + push @to_extract, 'usr/src/lib/Makefile*' + } } push @to_extract, map {m,(?:illumos-gate/)?(.*),; $1} @ARGV; } else { |