error in packaging guide-CDBS

Milos Mandaric milos at manda.com.ba
Thu Jan 1 17:22:54 GMT 2009


U Čet, 01. 01. 2009., u 12:09 +0100, Milos Mandaric je napisao/la:
> I had a lot of problems with this guide. It says that debian/rules file
> using CDBS can fit in 2 lines:
> 
>  include /usr/share/cdbs/1/rules/debhelper.mk
>  include /usr/share/cdbs/1/class/autotools.mk
> 
> I always get error:
> 
>  debian/rules: line 3: include: command not found
>  debian/rules: line 4: include: command not found
>  dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 127
>  debuild: fatal error at line 1329:
>  dpkg-buildpackage -rfakeroot -D -us -uc failed
> 
> After changing debian/rules to:
>  
>  #!/usr/bin/make -f
>  include /usr/share/cdbs/1/rules/debhelper.mk
>  include /usr/share/cdbs/1/class/autotools.mk
> 
> it works fine.
> Am I doing something wrong or this guide has errors?

I forgot to put link:
https://wiki.ubuntu.com/PackagingGuide/Complete#Packaging%20With%20CDBS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dio poruke sa digitalnim potpisom
Url : https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20090101/301c7304/attachment.pgp 


More information about the Ubuntu-motu mailing list