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

Re: Cant build a simple package.



Hi,

Rakotomandimby (R12y) Mihamina wrote:
> #!/usr/bin/make -f
> 
> export DH_VERBOSE=1
> 
> configure:
> 
> build:
> 
> clean:
> 
> install:
> 
>         dh_testdir
>         cp minimalist.pl $(CURDIR)/debian/minimalist
> 
> binary-indep:
> 
> binary-arch:
> 
>         dh_builddeb
> 
> binary: binary-indep binary-arch
> 
> .PHONY: build clean binary-indep binary-arch binary install

This is broken. debian/rules is a makefile.

dpkg-buildpackage just calls binary. so you have to add depends to your
makefile targets

And you want to add the needed dh_* commands before dh_builddep. They
*are* needed. You also want to move those to binary-indep since you have
a Architecture: all package (if you have any in control. fix it).

HTH.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73
      

Attachment: signature.asc
Description: Digital signature


Reply to: