Re: Debian templates for dsPIC build toolchain 2.05

John Steele Scott <[email protected]> Mon, 18 Dec 2006 09:20:25 +1030
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Organization Temperature Technology
Message-ID <[email protected]>
Xiaofan Chen wrote:
>> Thanks. I could build the pic30-binutils and pic30-support package but
>> I am having a problem building the pic30-gcc package (the build process
>> looks okay).
>>
>> rm debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*
>> rm: cannot remove `debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*':
>> No such file or directory
>> make: *** [install-stamp] Error 1
>>
>> I am using Ubuntu 6.10.
> 
> Slightly changing the rules file solved the problem.
> File pic30-deb-templates-2.05/pic30-gcc-2.05/debian/rules:
> 
> rm debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*
> -->
> rm debian/$(package)/$(man1dir)/cpp.1*
> rm debian/$(package)/$(man1dir)/gcov.1*

Thanks for reporting this. I've applied your fix to my rules file. Edgy uses
dash as it's /bin/sh, so bash brace expansion cannot be taken for granted.
I'm still using dapper here.

cheers,

John