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

Re: build: in debian/rules



2013/9/12 Mathieu Malaterre <malat@debian.org>:
> Hi,
>
>   Does anyone sees anything wrong with:
>
> ...
> $ cat debian/rules:
> VERSION = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' '
> -f2 | cut -f1 -d-)
> debian/tbb.pc: debian/tbb.pc.in
> sed -e"s/@VERSION@/$(VERSION)/g" $< > $@
>
> build: debian/tbb.pc
> ...
>
> It used to work, but completely destroyed my latest upload of tbb in
> experimental:
>
> https://buildd.debian.org/status/fetch.php?pkg=tbb&arch=i386&ver=4.2~20130725-1.2~exp2&stamp=1378901879
>
> Thanks for comments,

>From build log:
...
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_clean -O--parallel -O--dbg-package=libtbb2-dbg
 debian/rules build-arch
...

So try:
build-arch: debian/tbb.pc


Reply to: