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

Re: binary-all packaging



On Wed, 27 Jun 2001, Robert Millan wrote:

> # Build architecture-independent files here.
> binary-indep: build install
> # We have nothing to do by default.
> 
> # Build architecture-dependent files here.
> binary-arch: build install

Where's all the commands to build the package?

Try something like this (from a Arch: all package I have)

# Build architecture-independent files here.
binary-indep: install
        dh_testdir
        dh_testroot
        dh_installdocs
        dh_installchangelogs ChangeLog
        dh_link
        dh_compress
        dh_fixperms
        dh_installdeb
        dh_gencontrol
        dh_md5sums
        dh_builddeb

# Build architecture-dependent files here.
binary-arch: build install

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure



Reply to: