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

Re: missing file in my package



Robert Millan <zeratul2@wanadoo.es> wrote:
>I'm having some trouble in packaging a program called "esms". It only
>consists of a single binary-all (perl) file that must go on
>/usr/bin/esms. The problem is that the package is created without it,
>here's a snapshot of an alienized package:
[...]
>install: build
>        dh_testdir
>        dh_testroot
>        dh_clean -k
>        dh_installdirs
>
>        # Add here commands to install the package into debian/tmp.
>        install -d debian/tmp/usr/bin
>        install -m755 -o root -g root `pwd`/esms `pwd`/debian/tmp/usr/bin/esms

You aren't using DH_COMPAT=2 or 3, are you? When that is set, the
various debhelper commands (like dh_installdocs, which is installing
your documentation, and dh_builddeb, which calls dpkg to construct the
.deb itself) use debian/<package-name> rather than debian/tmp.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: