When a package has nothing to compile, we are expected to include a CompileScript that does a no-op and returns a true value. Maintainers usually implement this via something like "echo Nothing to compile", but there is a wide range of solutions for this. I ran the following commands to get the full list:

egrep -hr CompileScript: /sw/fink/10.3/unstable/*/finkinfo | egrep -vi 'make|build' | sort -u

Below is the list of all no-ops I gleaned from that output. I propose that we standardize on
CompileScript: /usr/bin/true
or the following reasons
* less verbose (it's a no-op after all)
* doesn't emit any unnecessary English text (in case internationalization matters here)

If the community does not support /usr/bin/true, then at very least we should standardize on agreed verbiage for the echo.

Chris

CompileScript: /usr/bin/true
CompileScript: echo
CompileScript: echo ""
CompileScript: echo "Compile phase: nothing to do."
CompileScript: echo "No Compile Script"
CompileScript: echo "No compile necessary"
CompileScript: echo "No compile needed"
CompileScript: echo "No compile needed."
CompileScript: echo "No compile script"
CompileScript: echo "No configuration or compilation necessary."
CompileScript: echo "Nothing is compiled in this section."
CompileScript: echo "Nothing to be done for compile"
CompileScript: echo "Nothing to be done."
CompileScript: echo "Nothing to compile"
CompileScript: echo "Nothing to compile."
CompileScript: echo "Nothing to compile..."
CompileScript: echo "Nothing to do ..."
CompileScript: echo "Nothing to do for Compile"
CompileScript: echo "Nothing to do for compile"
CompileScript: echo "Nothing to do in this section."
CompileScript: echo "Nothing to do"
CompileScript: echo "Nothing to do."
CompileScript: echo "Nothing to do..."
CompileScript: echo "Unpacking..."
CompileScript: echo "moving files..."
CompileScript: echo "no CompileScript needed"
CompileScript: echo "no compilation needed"
CompileScript: echo "no compile needed"
CompileScript: echo "no compile script ...."
CompileScript: echo "no compile script"
CompileScript: echo "no compile script"
CompileScript: echo "no compiling needed"
CompileScript: echo "none needed"
CompileScript: echo "none"
CompileScript: echo "nothing to compile ..."
CompileScript: echo "nothing to compile"
CompileScript: echo "nothing to do"
CompileScript: echo "we compile in the install phase"
CompileScript: echo 'No assembly required!'
CompileScript: echo 'nothing to compile'
CompileScript: echo No compilation necessary.
CompileScript: echo None
CompileScript: echo no compilation
CompileScript: echo none
CompileScript: true
CompileScript: true


-- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703

Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partners in the revolutionary Croquet project (http://www.opencroquet.org/)

Attachment: PGP.sig
Description: This is a digitally signed message part



Reply via email to