I'm trying to package a shared library using debuild to build the .deb file.In running dh_make the library option was selected.Have been following this guide Having managed to build the library, I'm getting the following error:dh_installdh_install: mylibrary-dev missing files (usr/lib/lib*.a), abortingmake: *** [binary] Error 255dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2debuild: fatal error at line 1337:dpkg-buildpackage -rfakeroot -D -us -uc failedI looked inside the directory listed in the error, e.g. ~/mylibrary-1.0/debian/mylibrary-dev/usr/lib/ and it empty. The shared libraries are actually in:~/mylibrary-1.0/debian/tmp/usr/lib/ However there are no *.a libs in there. The mylibrary-dev.install file list the following:usr/include/*usr/lib/lib*.ausr/lib/lib*.sousr/lib/pkgconfig/*usr/lib/*.lausr/share/pkgconfig/*For some reason an extra package is listed in the control file.Source: mylibraryPriority: extraMaintainer: satpal <satpal@unknown>Build-Depends: debhelper (>= 7.0.50~), autotools-devStandards-Version: 3.8.4Section: libsHomepage: <insert the upstream URL, if relevant>Package: mylibrary-devSection: libdevelArchitecture: anyDepends: mylibrary1 (= ${binary:Version})Description: <insert up to 60 chars description> <insert long description, indented with spaces>Package: mylibrary1Section: libsArchitecture: anyDepends: ${shlibs:Depends}, ${misc:Depends}Description: <insert up to 60 chars description> <insert long description, indented with spaces>Following the helloworld example used in the guide, it only comes up with Source and a single packageMy rules file is:#!/usr/bin/make -f# -*- makefile -*-# Sample debian/rules that uses debhelper.# This file was originally written by Joey Hess and Craig Small.# As a special exception, when this file is copied by dh-make into a# dh-make output file, you may use that output file without restriction.# This special exception was added by Craig Small in version 0.37 of dh-make.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1%:    dh $@
Using debuild to build shared libraries .deb
debian;dynamic linking
I re-read Gilles comment on my orignal post and managed to work out why I had no .a files. It was because I had actually stopped the creation of the static library in the configure.ac with the flag:AM_DISABLE_STATICA big D'oh on my part.