[Zope3-dev] Re: [Checkins] SVN: zc.resourcelibrary/trunk/ A basic makefile, the ZPL and copyright headers.

Benji York benji at zope.com
Wed Jun 14 22:23:30 EDT 2006


Brian Sutherland wrote:
> Log message for revision 68639:
>   A basic makefile, the ZPL and copyright headers.

Is there consensus about adding makefiles like this (diff below)?  I 
personally don't like the idea, but I wanted to bring it up to the list.

I don't like them for a couple of reasons. First, they're make files; 
that's an automatic strike :).  Second, they're not useful 
cross-platform; if what they're doing is important, then they should be 
Python scripts, if not, then they shouldn't exist.  Third, /I/ don't 
value what they're doing for me.

Other opinions?

> -=-
> Added: zc.resourcelibrary/trunk/Makefile
> ===================================================================
> --- zc.resourcelibrary/trunk/Makefile	2006-06-15 00:16:40 UTC (rev 68638)
> +++ zc.resourcelibrary/trunk/Makefile	2006-06-15 00:23:01 UTC (rev 68639)
> @@ -0,0 +1,19 @@
> +PYVERS=2.4
> +
> +all:
> +	# nothing for now
> +
> +clean: $(PYVERS:%=clean-python%)
> +	rm -rf dist
> +	rm -rf build
> +	rm -rf src/*.egg-info
> +
> +clean-python%:
> +	python$* setup.py clean
> +
> +.PHONY: dist
> +dist: clean $(PYVERS:%=build-python%-egg)
> +	python setup.py sdist
> +
> +build-python%-egg:
> +	python$* setup.py bdist_egg
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope3-dev mailing list