[CalendarServer-changes] [7311] CalendarServer/branches/release/CalendarServer-2.5-dev/support/ Makefile.Apple

source_changes at macosforge.org source_changes at macosforge.org
Mon Apr 11 17:18:53 PDT 2011


Revision: 7311
          http://trac.macosforge.org/projects/calendarserver/changeset/7311
Author:   wsanchez at apple.com
Date:     2011-04-11 17:18:53 -0700 (Mon, 11 Apr 2011)
Log Message:
-----------
Pull up workaround for setuptools being retarded.

Modified Paths:
--------------
    CalendarServer/branches/release/CalendarServer-2.5-dev/support/Makefile.Apple

Modified: CalendarServer/branches/release/CalendarServer-2.5-dev/support/Makefile.Apple
===================================================================
--- CalendarServer/branches/release/CalendarServer-2.5-dev/support/Makefile.Apple	2011-04-11 23:18:10 UTC (rev 7310)
+++ CalendarServer/branches/release/CalendarServer-2.5-dev/support/Makefile.Apple	2011-04-12 00:18:53 UTC (rev 7311)
@@ -143,6 +143,10 @@
 
 %.tgz: ../%
 	@echo "Archiving sources for $(notdir $<)..."
+	$(_v) if [ -f "$</setup.py" ] && grep setuptools "$</setup.py" > /dev/null; then \
+	        echo "Working around setuptools' stupid need to download a new version."; \
+	        cd "$<" && $(PYTHON) "setup.py" --help >/dev/null; \
+	      fi
 	$(_v) $(TAR) -C "$(dir $<)"        \
 	          --exclude=.svn           \
 	          --exclude=build          \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110411/a742eb9d/attachment-0001.html>


More information about the calendarserver-changes mailing list