[QT] make -clean error

Gilles Filippini pini at debian.org
Thu Mar 1 21:45:31 CET 2012


Πρεκατές Αλέξανδρος a écrit , Le 01/03/2012 00:54:
>> [cut]
>>> I run it without '-' but still the job stops with the same errors..
>> Maybe there is no such target (clean) defined in a Makefile?
>> -- 
>> Patryk "LeadMan" Benderz
>> Linux Registered User #377521
>> ()  ascii ribbon campaign - against html e-mail
>> /\  www.asciiribbon.org   - against proprietary attachments
>>
>>
>> _______________________________________________
>> Openmoko community mailing list
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
> 
> there is.
> 
> radekp-qtmoko-build$ less Makefile 
> 
> clean:
>         @echo make: running qbuild clean
>         @/home/chomwitt/programming/QT4/radekp-qtmoko-build/sdk/bin/qbuild -
> from-make $(MAKE) clean

Command prefixed with "-" into a makefile are used for ignoring
potential error. It is of common use in clean targets.

From the command line, the same effect is achieved with the -i option.

In case this is actually the intention, either you change the makefile with:

clean:
	@echo make: running qbuild clean
	-@/home/chomwitt/programming/QT4/radekp-qtmoko-build/sdk \
		/bin/qbuild -from-make $(MAKE) clean

or you call the clean target with:

make -i clean.

HTH,

_g.
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openmoko.org/pipermail/community/attachments/20120301/74d390fe/attachment.pgp>


More information about the community mailing list